D3DXToDegree

Note

The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.

Converts radians into degrees.

#define D3DXToDegree(radian) ((radian) * (180.0f / D3DX_PI))

Parameters

Parameter Description
radian
The value, in radians, to convert to degrees.

 

Return Value

The macro returns the radian value in degrees.

Requirements

Requirement Value
Header
D3dx9math.h

See also

Macros

D3DXToRadian

D3DX_PI