Function directx_math::XMScalarModAngle[][src]

pub fn XMScalarModAngle(Angle: f32) -> f32

Computes an angle between -XM_PI and XM_PI.

Parameters

Value float value describing the radian angle.

Return value

Returns an angle greater than or equal to -XM_PI and less than XM_PI that is congruent to Value modulo 2 PI.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMScalarModAngle