DirectXMath Library 3D vector comparison functions

Lists the 3D vector comparison functions.

In this section

Topic Description
XMVector3Equal
Tests whether two 3D vectors are equal.
XMVector3EqualInt
Tests whether two 3D vectors are equal, treating each component as an unsigned integer.
XMVector3EqualIntR
Tests whether two 3D vectors are equal, treating each component as an unsigned integer. In addition, this function returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
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.
XMVector3Greater
Tests whether one 3D vector is greater than another 3D vector.
XMVector3GreaterOrEqual
Tests whether one 3D vector is greater-than-or-equal-to another 3D vector.
XMVector3GreaterOrEqualR
Tests whether one 3D vector is greater-than-or-equal-to another 3D vector and returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVector3GreaterR
Tests whether one 3D vector is greater than another 3D vector and returns a comparison value that can be examined using functions such as XMComparisonAllTrue.
XMVector3IsInfinite
Tests whether any component of a 3D vector is positive or negative infinity.
XMVector3IsNaN
Tests whether any component of a 3D vector is a NaN.
XMVector3Less
Tests whether one 3D vector is less than another 3D vector.
XMVector3LessOrEqual
Tests whether one 3D vector is less-than-or-equal-to another 3D vector.
XMVector3NearEqual
Tests whether one 3D vector is near another 3D vector.
XMVector3NotEqual
Tests whether two 3D vectors are not equal.
XMVector3NotEqualInt
Test whether two 3D vectors are not equal, treating each component as an unsigned integer.

 

DirectXMath Library 3D Vector Functions