Fixed GLM_QUAT_IDENTITY_INIT (wxyz) instead of (xyzw). Addresses #10.

This commit is contained in:
Matt Reyer
2017-12-26 08:51:21 -05:00
parent 63eaee5049
commit b797863ba3

View File

@@ -32,8 +32,8 @@
# include "simd/sse2/quat.h" # include "simd/sse2/quat.h"
#endif #endif
#define GLM_QUAT_IDENTITY_INIT {0.0f, 0.0f, 0.0f, 1.0f} #define GLM_QUAT_IDENTITY_INIT {1.0f, 0.0f, 0.0f, 0.0f}
#define GLM_QUAT_IDENTITY (versor){0.0f, 0.0f, 0.0f, 1.0f} #define GLM_QUAT_IDENTITY (versor){1.0f, 0.0f, 0.0f, 0.0f}
CGLM_INLINE CGLM_INLINE
void void