Closed vlj closed 7 years ago
Actually, the latest version of DirectXMath is available under an open-source license on GitHub. It's use of windows.h
is entirely optional. If you have problems getting the intriniscs code to compile for your platform, you can use #define _XM_NO_INTRINSICS_
before it to force the C codepaths.
The UVAtlas library uses a few DXGI enumerations, but I think should be fairly portable C99/C++11.
Using DirectXTex or DirectXMesh on non-Windows platforms is much more challenging since they use Direct3D 11 and Windows Imaging Component (WIC).
thanks, I didn't know DirectXMath was available on Github.
UVAtlas lib currently relies on Windows.h and DirectXMaths.h which are not available on non Windows platform. Would a Pull Request replacing all call to Windows specific headers with Platform agnostic lib (glm, Eigen) and a cmake build system be accepted in this repo ?