DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
The DirectXMath 3.18 release is included in the Windows SDK (10.0.25262) Preview or later.
/std:c++20 /Zc:_cplusplus
/Zc:arm64-aliased-neon-types-
The DirectXMath 3.17 release is included in the Windows SDK (10.0.22621) for Windows 11, Version 22H2 .
XMMatrixRotationRollPitchYaw(FromVector)
functionsXMUNIBBLE4
, XMU555
, XMU565
, XMBYTEN2
, XMBYTE2
, XMUBYTEN2
, XMUBYTE2
XM_CACHE_LINE_SIZE
updated for ARM/ARM64 targets to 128 bytesSee this post.
This was a CMake only release of DirectXMath 3.16 for vcpkg to resolve case-sensitivity issues in the CMake package implementation.
DirectXMath 3.16 with hot-fixes applied:
XM_ALIGNED_DATA
and XM_ALIGNED_STRUCT
macros updated to use C++17 alignas
when availableSee this post.
DirectXMath 3.16 is included in the Windows 10 SDK (10.0.20348.0), version 2104:
XMVectorLog10
/ XMVectorExp10
XMColorRGBToYUV_UHD
/ XMColorYUVToRGB_UHD
for Rec. 2020 YUVrhcoords
parameter for BoundingFrustum CreateFromMatrix
_XM_SVML_INTRINSICS_
; opt-out with _XM_DISABLE_INTEL_SVML_
XMConvertFloatToHalf
to match F16C/CVT16 instructions.XMStoreFloat3PK
XMStoreByteN4
GXMVECTOR
for x86 __vectorcall
See this post.
This version is also available on NuGet.
A preview of DirectXMath 3.16 is included in the Windows Insider Preview SDK (20197 and others).
DirectXMath 3.15 includes the following changes:
XMMatrixVectorTensorProduct
for creating a matrix from two vectors__m256
registers and FMA3 with /arch:AVX2
for stream and some matrix functionsconstexpr
/ noexcept
usage)See this post.
This version is also available on NuGet.