From 7cb9607ffb90c2d3061b17351b8cbc2ada5f0fca Mon Sep 17 00:00:00 2001 From: Christophe Date: Wed, 7 Aug 2019 13:39:36 +0200 Subject: [PATCH] Fixed quaternion initialization --- 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 b8de4b28..ae70e091 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 x, y, z, w; + T w, x, y, z; # endif # if GLM_SILENT_WARNINGS == GLM_ENABLE