Merge pull request #11 from winduptoy/master

Fixed GLM_QUAT_IDENTITY_INIT (wxyz) instead of (xyzw). Addresses #10.
This commit is contained in:
Recep Aslantas
2017-12-26 17:44:03 +03:00
committed by GitHub

View File

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