Browse Source

- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493

Christophe Riccio 9 years ago
parent
commit
e8ff04aaec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      glm/gtx/dual_quaternion.inl

+ 2 - 2
glm/gtx/dual_quaternion.inl

@@ -119,13 +119,13 @@ namespace glm
 	{}
 	{}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>
-	GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tmat2x4<T, P> const & m)
+	GLM_FUNC_QUALIFIER tdualquat<T, P>::tdualquat(tmat2x4<T, P> const & m)
 	{
 	{
 		*this = dualquat_cast(m);
 		*this = dualquat_cast(m);
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>
-	GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tmat3x4<T, P> const & m)
+	GLM_FUNC_QUALIFIER tdualquat<T, P>::tdualquat(tmat3x4<T, P> const & m)
 	{
 	{
 		*this = dualquat_cast(m);
 		*this = dualquat_cast(m);
 	}
 	}