D3DXToRadian
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXToRadian Macro


Converts degrees into radians.

Syntax

#define D3DXToRadian( degree ) ((degree) * (D3DX_PI / 180.0f))

Parameters

degree
The value, in degrees, to convert to radians.

Return Value

The macro returns the degree value in radians.



Macro Information

Headerd3dx9math.h
Minimum operating systems Windows 98

See Also

D3DXToDegree, 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.