Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests

This commit is contained in:
Christophe Riccio 2020-01-05 21:05:29 +01:00
parent 8381f8e71e
commit d92ac09ce2

View File

@ -140,7 +140,7 @@ namespace detail
template <typename T, qualifier Q>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR qua<T, Q>::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