From d92ac09ce29cce0e79bf404049433b8c6894c74e Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 5 Jan 2020 21:05:29 +0100 Subject: [PATCH] Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests --- glm/detail/type_quat.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/type_quat.inl b/glm/detail/type_quat.inl index 3aefb3f8..67b9310a 100644 --- a/glm/detail/type_quat.inl +++ b/glm/detail/type_quat.inl @@ -140,7 +140,7 @@ namespace detail template GLM_FUNC_QUALIFIER GLM_CONSTEXPR qua::qua(T _w, T _x, T _y, T _z) # ifdef GLM_FORCE_QUAT_DATA_WXYZ - : y(_y), z(_z), w(_w), x(_x) + : w(_w), x(_x), y(_y), z(_z) # else : x(_x), y(_y), z(_z), w(_w) # endif