Module directx_math::vector2d::comparison[][src]

2D Vector comparison functions

Additional comparison functions are found in the utility and vector comparison modules.

https://docs.microsoft.com/en-us/windows/win32/dxmath/ovw-xnamath-reference-functions-vector2-comparison

Functions

XMVector2Equal

Tests whether two 2D vectors are equal.

XMVector2EqualInt

Tests whether two 2D vectors are equal, treating each component as an unsigned integer.

XMVector2EqualIntR

Tests whether two 2D 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.

XMVector2EqualR

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

XMVector2Greater

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

XMVector2GreaterOrEqual

Tests whether one 2D vector is greater-than-or-equal-to another 2D vector.

XMVector2GreaterOrEqualR

Tests whether one 2D vector is greater-than-or-equal-to another 2D vector and returns a comparison value that can be examined using functions such as XMComparisonAllTrue.

XMVector2GreaterR

Tests whether one 2D vector is greater than another 2D vector and returns a comparison value that can be examined using functions such as XMComparisonAllTrue.

XMVector2IsInfinite

Tests whether any component of a 2D vector is positive or negative infinity.

XMVector2IsNaN

Tests whether any component of a 2D vector is a NaN.

XMVector2Less

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

XMVector2LessOrEqual

Tests whether one 2D vector is less-than-or-equal-to another 2D vector.

XMVector2NearEqual

Tests whether one 2D vector is near another 2D vector.

XMVector2NotEqual

Tests whether two 2D vectors are not equal.

XMVector2NotEqualInt

Test whether two vectors are not equal, treating each component as an unsigned integer.