Fixed build, missing reference to inverse function

This commit is contained in:
Christophe Riccio 2016-05-22 17:28:18 +02:00
parent 6cf7389c8c
commit cc9916b2c6
3 changed files with 6 additions and 6 deletions

View File

@ -487,13 +487,13 @@ namespace glm
template <typename T, precision P>
GLM_FUNC_QUALIFIER typename tmat2x2<T, P>::col_type operator/(tmat2x2<T, P> const & m, typename tmat2x2<T, P>::row_type const & v)
{
return detail::compute_inverse<tmat2x2, T, P>::call(m) * v;
return inverse(m) * v;
}
template <typename T, precision P>
GLM_FUNC_QUALIFIER typename tmat2x2<T, P>::row_type operator/(typename tmat2x2<T, P>::col_type const & v, tmat2x2<T, P> const & m)
{
return v * detail::compute_inverse<tmat2x2, T, P>::call(m);
return v * inverse(m);
}
template <typename T, precision P>

View File

@ -564,13 +564,13 @@ namespace glm
template <typename T, precision P>
GLM_FUNC_QUALIFIER typename tmat3x3<T, P>::col_type operator/(tmat3x3<T, P> const & m, typename tmat3x3<T, P>::row_type const & v)
{
return detail::compute_inverse<tmat3x3, T, P>::call(m) * v;
return inverse(m) * v;
}
template <typename T, precision P>
GLM_FUNC_QUALIFIER typename tmat3x3<T, P>::row_type operator/(typename tmat3x3<T, P>::col_type const & v, tmat3x3<T, P> const & m)
{
return v * detail::compute_inverse<tmat3x3, T, P>::call(m);
return v * inverse(m);
}
template <typename T, precision P>

View File

@ -670,13 +670,13 @@ namespace glm
template <typename T, precision P>
GLM_FUNC_QUALIFIER typename tmat4x4<T, P>::col_type operator/(tmat4x4<T, P> const & m, typename tmat4x4<T, P>::row_type const & v)
{
return detail::compute_inverse<tmat4x4, T, P>::call(m) * v;
return inverse(m) * v;
}
template <typename T, precision P>
GLM_FUNC_QUALIFIER typename tmat4x4<T, P>::row_type operator/(typename tmat4x4<T, P>::col_type const & v, tmat4x4<T, P> const & m)
{
return v * detail::compute_inverse<tmat4x4, T, P>::call(m);
return v * inverse(m);
}
template <typename T, precision P>