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