From 9af0ebd1427adf0609722f799f2e042bfccf9be2 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Fri, 17 Jan 2020 23:27:20 +0300 Subject: [PATCH] win: fix glms_quat_imagn if use struct option is disabled --- include/cglm/struct/quat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm/struct/quat.h b/include/cglm/struct/quat.h index 2938478..5940af5 100644 --- a/include/cglm/struct/quat.h +++ b/include/cglm/struct/quat.h @@ -251,7 +251,7 @@ CGLM_INLINE vec3s glms_quat_imagn(versors q) { vec3s dest; - glm_normalize_to(q.imag.raw, dest.raw); + glm_normalize_to(q.raw, dest.raw); return dest; }