D3DXToRadian
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Converts degrees into radians.
#define D3DXToRadian(degree) ((degree) * (D3DX_PI / 180.0f))
Parameters
Parameter | Description |
---|---|
degree |
The value, in degrees, to convert to radians. |
Return Value
The macro returns the degree value in radians.
Requirements
Requirement | Value |
---|---|
Header |
|
See also