spnda / fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability
https://fastgltf.readthedocs.io/v0.8.x/
MIT License
312 stars 48 forks source link

Fix namespacing for DirectXMath element traits #80

Closed MattGuerrette closed 1 week ago

MattGuerrette commented 1 week ago

This commit corrects the namespacing for the DirectXMath element traits as some of the XM types come from the DirectX::PackedVector namespace.

spnda commented 1 week ago

Great, thank you. Sorry about that... I added a second commit that also includes DirectXPackedVector.h if its available, since the PackedVector namespace is only defined there. Also added the XMUBYTEN and corrected the XMSHORTN specializations.