From 247beeb5bf36f3a0b86e61ff56c29c14cf805956 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 7 Sep 2019 11:16:05 +0200 Subject: [PATCH] Bring back quaternion to xyzw storage to remain backward compatible #942 --- glm/detail/type_quat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/type_quat.hpp b/glm/detail/type_quat.hpp index 32d2839a..49436d95 100644 --- a/glm/detail/type_quat.hpp +++ b/glm/detail/type_quat.hpp @@ -47,7 +47,7 @@ namespace glm typename detail::storage<4, T, detail::is_aligned::value>::type data; }; # else - T w, x, y, z; + T x, y, z, w; # endif # if GLM_SILENT_WARNINGS == GLM_ENABLE