From b797863ba3ac0f95039dbab3d7f710d524442ded Mon Sep 17 00:00:00 2001 From: Matt Reyer Date: Tue, 26 Dec 2017 08:51:21 -0500 Subject: [PATCH] Fixed GLM_QUAT_IDENTITY_INIT (wxyz) instead of (xyzw). Addresses #10. --- include/cglm/quat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cglm/quat.h b/include/cglm/quat.h index 755b2a7..2df2d70 100644 --- a/include/cglm/quat.h +++ b/include/cglm/quat.h @@ -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