DirectX SDK |
The D3DXToRadian macro converts degrees into radians.
D3DXToRadian( degree ) ((degree) * (D3DX_PI / 180.0f))
The macro returns the degree value in radians.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3dxmath.h.