Games for Windows and the DirectX SDK blog

Technical tips, tricks, and news about game development for Microsoft platforms including desktop, Xbox, and UWP

Project maintained by walbourn Hosted on GitHub Pages — Theme by mattgraham
Home | Posts by Tag | Posts by Month

DirectXMath 3.07


Originally posted to Chuck Walbourn's Blog on MSDN,

DirectXMath version 3.07 is included in the Windows 8.1 SDK Spring 2015 Update and Windows Phone 8.1 SDK Spring 2015 Update that ships with VS 2015 and VS 2013 Update 5. It is also included in the Windows 10 SDK. See the Visual Studio blog, the Visual C++ Team blog, and Soma’s blog for more details on these releases.

This new version includes fixes for the issues covered in Known Issues: DirectXMath 3.06:

  • Fix customer reported bugs in BoundingBox methods
  • Fix customer reported bug in XMStoreFloat3SE
  • Fix customer reported bug in XMVectorATan2, XMVectorATan2Est
  • Fix customer reported bug in XMVectorRound

There were a few other minor but important changes as well. Primarily it was cleaning up all warnings generated by the new VS 2015 compiler ‘by default’ with the DirectXMath headers. There was also a more subtle change in that DirectXMath 3.07 now implicitly includes <math.h> rather than <cmath>, which means that using DirectXMath no longer implicitly picks up a dependency on the “STL” and it’s potential to generate a link-time error (LNK2038) due to the _MSC_VER and/or _ITERATOR_DEBUG_LEVEL stamp mismatch in static libraries built with older versions of the toolset or different configurations. Resolving this second issue had the side-effect of fixing the long-standing problem with the Windows 8.1 SDK / Windows Phone 8.1 SDK’s xapobase.lib static helper library for the ARM platform.

VS 2015: DirectXMath 3.06 and 3.03 trigger some warnings with the VS 2015 toolset that are fixed in DirectXMath 3.07.

Related: Known Issues: DirectXMath 3.03, DirectXMath 3.06, DirectXMath 3.08, DirectXMath 3.09, DirectXMath 3.10, DirectXMath 3.11

Xbox One: DirectXMath 3.07 also ships in the Xbox One XDK and ADK releases for 2015.

GitHub: Note that DirectXMath is now hosted on GitHub.