XMVector2Less

Tests whether one 2D vector is less than another 2D vector.

Syntax

bool XMVector2Less(
         XMVECTOR V1,
         XMVECTOR V2
)  

Parameters

V1
Type: XMVECTOR 

2D vector.

V2
Type: XMVECTOR 

2D vector.

Return value

Type: bool 

Returns true if V1 is less than V2 and false otherwise. See the remarks section.

Remarks

The following pseudocode demonstrates the operation of the function:

return ( V1.x < V2.x && V1.y < V2.y );  

Requirements

Header: Declared in directxmath.h.