D3DXToDegree
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXToDegree Macro


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.

Macro Information

Headerd3dx9math.h
Minimum operating systems Windows 98

See Also

D3DXToRadian, D3DX_PI


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.