From 20a23123515332e8e2b7b9152c5e6e5e0e291a4b Mon Sep 17 00:00:00 2001 From: Colin MacKenzie IV Date: Fri, 16 Nov 2018 19:25:44 -0500 Subject: [PATCH] fix versor alignment --- include/cglm/quat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm/quat.h b/include/cglm/quat.h index d07db8e..c544f0d 100644 --- a/include/cglm/quat.h +++ b/include/cglm/quat.h @@ -286,7 +286,7 @@ glm_quat_conjugate(versor q, versor dest) { CGLM_INLINE void glm_quat_inv(versor q, versor dest) { - CGLM_ALIGN(8) versor conj; + CGLM_ALIGN(16) versor conj; glm_quat_conjugate(q, conj); glm_vec4_scale(conj, 1.0f / glm_vec4_norm2(q), dest); }