Microsoft DirectX 8.1 (C++) |
Converts radians into degrees.
D3DXToDegree( radian ) ((radian) * (180.0f / D3DX_PI))
The macro returns the radian value in degrees.
The CONSTant D3DX_PI is declared with the following define.
#define D3DX_PI ((FLOAT) 3.141592654f)
Header: Declared in D3dx8math.h.