Computes an angle between -XM_PI and XM_PI.
float XMScalarModAngle(
float Value
)
Value
Type: floatĀ
float value describing the radian angle.
Type: floatĀ
Returns an angle greater than or equal to -XM_PI and less than XM_PI that is congruent to Value modulo 2pi.
Header: Declared in directxmath.h.