Browse Source

Fixed build, missing reference to inverse function

Christophe Riccio 9 years ago
parent
commit
cc9916b2c6
3 changed files with 6 additions and 6 deletions
  1. 2 2
      glm/detail/type_mat2x2.inl
  2. 2 2
      glm/detail/type_mat3x3.inl
  3. 2 2
      glm/detail/type_mat4x4.inl

+ 2 - 2
glm/detail/type_mat2x2.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>

+ 2 - 2
glm/detail/type_mat3x3.inl

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

+ 2 - 2
glm/detail/type_mat4x4.inl

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