XMVectorAdd

Computes the sum of two vectors.

Syntax

XMVECTOR XMVectorAdd(
         XMVECTOR V1,
         XMVECTOR V2
)  

Parameters

V1
Type: XMVECTOR 

First vector to add.

V2
Type: XMVECTOR 

Second vector to add.

Return value

Type: XMVECTOR 

Returns a vector that is the sum of V1 and V2.

Requirements

Header: Declared in directxmath.h.