Fixed build, missing reference to inverse function

master
Christophe Riccio ago%!(EXTRA string=9 years)
parent 6cf7389c8c
commit cc9916b2c6
  1. 4
      glm/detail/type_mat2x2.inl
  2. 4
      glm/detail/type_mat3x3.inl
  3. 4
      glm/detail/type_mat4x4.inl

@ -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>

@ -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>

@ -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>

Loading…
Cancel
Save