XMScalarModAngle

Computes an angle between -XM_PI and XM_PI.

Syntax

float XMScalarModAngle(
         float Value
)  

Parameters

Value
Type: floatĀ 

float value describing the radian angle.

Return value

Type: floatĀ 

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

Requirements

Header: Declared in directxmath.h.