?/TD> |
Microsoft DirectX 9.0 |
Converts radians into degrees.
Syntax
#define D3DXToDegree( radian ) ((radian) * (180.0f / D3DX_PI))
Parameters
- radian
- The value, in radians, to convert to degrees.
Return Value
The macro returns the radian value in degrees.
Remarks
The constant D3DX_PI is declared with the following define.
#define D3DX_PI ((FLOAT) 3.141592654f)
Macro Information
Header d3dx9math.h Minimum operating systems Windows 98
See Also
D3DXToRadian