Browse Source

Fixed build errors #250

Christophe Riccio 11 years ago
parent
commit
2df7addc05
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

@@ -589,7 +589,7 @@ namespace detail
 		typename tmat2x2<T, P>::row_type & v
 		typename tmat2x2<T, P>::row_type & v
 	)
 	)
 	{
 	{
-		return detail::compute_inverse<tmat2x2, T, P>::call(m) * v;
+		return detail::compute_inverse<T, P>(m) * v;
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>
@@ -599,7 +599,7 @@ namespace detail
 		tmat2x2<T, P> const & m
 		tmat2x2<T, P> const & m
 	)
 	)
 	{
 	{
-		return v * detail::compute_inverse<tmat2x2, T, P>::call(m);
+		return v * detail::compute_inverse<T, P>(m);
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>

+ 2 - 2
glm/detail/type_mat3x3.inl

@@ -680,7 +680,7 @@ namespace detail
 		typename tmat3x3<T, P>::row_type const & v
 		typename tmat3x3<T, P>::row_type const & v
 	)
 	)
 	{
 	{
-		return detail::compute_inverse<tmat3x3, T, P>::call(m) * v;
+		return detail::compute_inverse<T, P>(m) * v;
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>
@@ -690,7 +690,7 @@ namespace detail
 		tmat3x3<T, P> const & m
 		tmat3x3<T, P> const & m
 	)
 	)
 	{
 	{
-		return v * detail::compute_inverse<tmat3x3, T, P>::call(m);
+		return v * detail::compute_inverse<T, P>(m);
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>

+ 2 - 2
glm/detail/type_mat4x4.inl

@@ -815,7 +815,7 @@ namespace detail
 		typename tmat4x4<T, P>::row_type const & v
 		typename tmat4x4<T, P>::row_type const & v
 	)
 	)
 	{
 	{
-		return detail::compute_inverse<tmat4x4, T, P>::call(m) * v;
+		return detail::compute_inverse<T, P>(m) * v;
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>
@@ -825,7 +825,7 @@ namespace detail
 		tmat4x4<T, P> const & m
 		tmat4x4<T, P> const & m
 	)
 	)
 	{
 	{
-		return v * detail::compute_inverse<tmat4x4, T, P>::call(m);
+		return v * detail::compute_inverse<T, P>(m);
 	}
 	}
 
 
 	template <typename T, precision P>
 	template <typename T, precision P>