Tests whether two 2D vectors are equal.
bool XMVector2Equal(
XMVECTOR V1,
XMVECTOR V2
)
V1
Type: XMVECTOR
2D vector.
V2
Type: XMVECTOR
2D vector.
Type: bool
Returns true if the 2D vectors are equal and false otherwise.
The following pseudocode demonstrates the operation of the function:
return ( V1.x == V2.x && V2.y == V2.y );
Header: Declared in directxmath.h.