XMVector4Dot

Computes the dot product between 4D vectors.

Syntax

XMVECTOR XMVector4Dot(
         XMVECTOR V1,
         XMVECTOR V2
)  

Parameters

V1
Type: XMVECTOR 

4D vector.

V2
Type: XMVECTOR 

4D vector.

Return value

Type: XMVECTOR 

Returns a vector. The dot product between V1 and V2 is replicated into each component.

Requirements

Header: Declared in directxmath.h.