D3DXToDegree

Converts radians into degrees.

#define D3DXToDegree(radian) ((radian) * (180.0f / D3DX_PI))

Parameters

radian
The value, in radians, to convert to degrees.

Return Values

The macro returns the radian value in degrees.

Requirements

Header: Declared in D3dx9math.h.

See Also

D3DXToRadianD3DX_PI