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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for