From 247753a156d4a71ab1ac955c7292d26705b8dc96 Mon Sep 17 00:00:00 2001 From: junjie020 Date: Fri, 12 Jan 2024 11:18:04 +0800 Subject: [PATCH] replace GLM_FORCE_QUAT_CTOR_XYZW to GLM_FORCE_QUAT_DATA_XYZW --- glm/detail/type_quat.hpp | 2 +- glm/detail/type_quat.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)