Pārlūkot izejas kodu

Fixed outerproduct ticket #150

Christophe Riccio 14 gadi atpakaļ
vecāks
revīzija
d26c9df71d
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      glm/core/func_matrix.inl

+ 4 - 4
glm/core/func_matrix.inl

@@ -135,8 +135,8 @@ namespace glm
 	template <typename T>
 	template <typename T>
 	GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct
 	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");
 		GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
@@ -156,8 +156,8 @@ namespace glm
 	template <typename T>
 	template <typename T>
 	GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct
 	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");
 		GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");