diff --git a/glm/gtx/dual_quaternion.inl b/glm/gtx/dual_quaternion.inl index f5c1da08..5c82b882 100644 --- a/glm/gtx/dual_quaternion.inl +++ b/glm/gtx/dual_quaternion.inl @@ -28,8 +28,8 @@ namespace glm template GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat::tdualquat() # ifdef GLM_FORCE_CTOR_INIT - : real(tquat()) - , dual(tquat(0, 0, 0, 0)) + : real(tquat()) + , dual(tquat(0, 0, 0, 0)) # endif {} # endif diff --git a/test/gtx/gtx_dual_quaternion.cpp b/test/gtx/gtx_dual_quaternion.cpp index 1e868744..ceedc2c2 100644 --- a/test/gtx/gtx_dual_quaternion.cpp +++ b/test/gtx/gtx_dual_quaternion.cpp @@ -1,4 +1,5 @@ #define GLM_ENABLE_EXPERIMENTAL +#define GLM_FORCE_CTOR_INIT #include #include #include