Function XMVectorAddAngles

Source
pub fn XMVectorAddAngles(V1: FXMVECTOR, V2: FXMVECTOR) -> XMVECTOR
Expand description

Adds two vectors representing angles.

§Parameters

V1 First vector of angles. Each angle must satisfy -XM_PI <= V1 < XM_PI.

V2 Second vector of angles. Each angle must satisfy -XM_2PI <= V1 < XM_2PI.

§Return value

Returns a vector whose components are the sums of the angles of the corresponding components. Each component of the returned vector will be an angle less than XM_PI and greater than or equal to -XM_PI.

§Reference

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