XMVectorAddAngles

Adds two vectors representing angles.

Syntax

XMVECTOR XMVectorAddAngles(
         XMVECTOR V1,
         XMVECTOR V2
)  

Parameters

V1
Type: XMVECTOR 

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

V2
Type: XMVECTOR 

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

Return value

Type: XMVECTOR 

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.

Requirements

Header: Declared in directxmath.h.