Compares two numeric data type instances, or two instances of an object which supports an overload of <, and returns the smaller one of the two instances. The data type of the arguments and the return value is the same.
T XMMin(
T a,
T b
)
a
Type: T
Specifies the first of two objects.
b
Type: T
Specifies the two of two objects.
Type: T
Returns the smaller of the two input objects.
XMMin is a template and the T type is specified when the template is instantiated.
Note
The
XMMintemplate is new for DirectXMath and is not available for XNAMath 2.x.XMMinis available as a macro in XNAMath 2.x.
Header: Declared in directxmath.h.