Browse Source

Fixed quaternion initialization

Christophe 6 years ago
parent
commit
7cb9607ffb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/type_quat.hpp

+ 1 - 1
glm/detail/type_quat.hpp

@@ -47,7 +47,7 @@ namespace glm
 				typename detail::storage<4, T, detail::is_aligned<Q>::value>::type data;
 				typename detail::storage<4, T, detail::is_aligned<Q>::value>::type data;
 			};
 			};
 #		else
 #		else
-			T x, y, z, w;
+			T w, x, y, z;
 #		endif
 #		endif
 
 
 #		if GLM_SILENT_WARNINGS == GLM_ENABLE
 #		if GLM_SILENT_WARNINGS == GLM_ENABLE