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