Would directxmath.h work on osx/linux with OpenGL? I know there's the difference in normalized device coordinates but is there anything in the API that restricts it to Windows?
Thanks!
Edit:
I'm guessing these preprocessor directives would prevent it from running on the other platforms:
#if !defined(_XM_BIGENDIAN_) && !defined(_XM_LITTLEENDIAN_)
#if defined(_M_AMD64) || defined(_M_IX86) || defined(_M_ARM)
#define _XM_LITTLEENDIAN_
#elif defined(_M_PPCBE)
#define _XM_BIGENDIAN_
#else
#error DirectX Math does not support this target
#endif
#endif // !_XM_BIGENDIAN_ && !_XM_LITTLEENDIAN_