July 2012
XNA Math version 2.05 includes the following changes (primarily to be more consistent with DirectXMath):
- Template forms have been added for
XMVectorPermute,XMVectorSwizzle,XMVectorShiftLeft,XMVectorRotateLeft,XMVectorRotateRight, andXMVectorInsert - The
XM_STRICT_XMMATRIXcompilation define has been added for opaqueXMMATRIX. - Stream stride and count arguments have been changed to
size_t - The pDeterminant parameter of
XMMatrixInverseis now optional - Additional operator= overloads for
XMBYTEN4,XMBYTE4,XMUBYTEN4, andXMUBYTE4types are now available
Code written to be portable between XNA Math and DirectXMath should make use of
XM_STRICT_MATRIX&XM_STRICT_VECTOR4, and prefer the use of template forms (using 0-3 or 0-7 indices rather thanXM_PERMUTE_*orXM_SWIZZLE_*constants).
See this post.