Bring back quaternion to xyzw storage to remain backward compatible #942

This commit is contained in:
Christophe Riccio 2019-09-07 11:16:05 +02:00
parent 9a32317065
commit 247beeb5bf

View File

@ -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 w, x, y, z; T x, y, z, w;
# endif # endif
# if GLM_SILENT_WARNINGS == GLM_ENABLE # if GLM_SILENT_WARNINGS == GLM_ENABLE