diff --git a/glm/detail/type_quat.hpp b/glm/detail/type_quat.hpp index d489e0a2..b595f484 100644 --- a/glm/detail/type_quat.hpp +++ b/glm/detail/type_quat.hpp @@ -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); diff --git a/glm/detail/type_quat.inl b/glm/detail/type_quat.inl index 3213ea6a..dc40be6c 100644 --- a/glm/detail/type_quat.inl +++ b/glm/detail/type_quat.inl @@ -141,7 +141,7 @@ namespace detail {} template -# ifdef GLM_FORCE_QUAT_CTOR_XYZW +# ifdef GLM_FORCE_QUAT_DATA_XYZW GLM_FUNC_QUALIFIER GLM_CONSTEXPR qua::qua(T _x, T _y, T _z, T _w) # else GLM_FUNC_QUALIFIER GLM_CONSTEXPR qua::qua(T _w, T _x, T _y, T _z)