Browse Source

Fixed outerproduct ticket #150

Christophe Riccio 14 years ago
parent
commit
d26c9df71d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      glm/core/func_matrix.inl

+ 4 - 4
glm/core/func_matrix.inl

@@ -135,8 +135,8 @@ namespace glm
 	template <typename T>
 	GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct
 	(
-		detail::tvec2<T> const & c, 
-		detail::tvec4<T> const & r
+		detail::tvec4<T> const & c, 
+		detail::tvec2<T> const & r
 	)
 	{
 		GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
@@ -156,8 +156,8 @@ namespace glm
 	template <typename T>
 	GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct
 	(
-		detail::tvec4<T> const & c, 
-		detail::tvec2<T> const & r
+		detail::tvec2<T> const & c, 
+		detail::tvec4<T> const & r
 	)
 	{
 		GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");