XMVector3EqualR

Tests whether two 3D vectors are equal. In addition, this function returns a comparison value that can be examined using functions such as XMComparisonAllTrue.

Syntax

uint32_t XMVector3EqualR(
         XMVECTOR V1,
         XMVECTOR V2
)  

Parameters

V1
Type: XMVECTOR 

3D vector.

V2
Type: XMVECTOR 

3D vector.

Return value

Type: uint32_t 

Returns a comparison value that can be examined using functions such as XMComparisonAllTrue.

Remarks

This function does the following test:

V1.x == V2.x
V1.y == V2.y
V1.z == V2.z  

Requirements

Header: Declared in directxmath.h.