Skip to content

Commit

Permalink
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
Browse files Browse the repository at this point in the history
  • Loading branch information
Groovounet committed May 5, 2016
1 parent 2a92b65 commit e8ff04a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glm/gtx/dual_quaternion.inl
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ namespace glm
{}

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);
}

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);
}
Expand Down

0 comments on commit e8ff04a

Please sign in to comment.