replace GLM_FORCE_QUAT_CTOR_XYZW to GLM_FORCE_QUAT_DATA_XYZW

This commit is contained in:
junjie020 2024-01-12 11:18:04 +08:00
parent b06b775c1c
commit 247753a156
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ namespace glm
GLM_FUNC_DECL GLM_CONSTEXPR qua(T s, vec<3, T, Q> const& v);
# ifdef GLM_FORCE_QUAT_CTOR_XYZW
# ifdef GLM_FORCE_QUAT_DATA_XYZW
GLM_FUNC_DECL GLM_CONSTEXPR qua(T x, T y, T z, T w);
# else
GLM_FUNC_DECL GLM_CONSTEXPR qua(T w, T x, T y, T z);

View file

@ -141,7 +141,7 @@ namespace detail
{}
template <typename T, qualifier Q>
# ifdef GLM_FORCE_QUAT_CTOR_XYZW
# ifdef GLM_FORCE_QUAT_DATA_XYZW
GLM_FUNC_QUALIFIER GLM_CONSTEXPR qua<T, Q>::qua(T _x, T _y, T _z, T _w)
# else
GLM_FUNC_QUALIFIER GLM_CONSTEXPR qua<T, Q>::qua(T _w, T _x, T _y, T _z)