D3DXToRadian

Converts degrees into radians.

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

Parameters

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

Return Values

The macro returns the degree value in radians.

Requirements

Header: Declared in D3dx9math.h.

See Also

D3DXToDegree, D3DX_PI