Jelajahi Sumber

Merge pull request #70 from Adellica/0.9.4

Fixed mat2x4 value-type constructor, issue #70
Christophe Riccio 12 tahun lalu
induk
melakukan
e5172fb284
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      glm/core/type_mat2x4.inl

+ 1 - 1
glm/core/type_mat2x4.inl

@@ -109,7 +109,7 @@ namespace detail
 	{
 	{
 		value_type const Zero(0);
 		value_type const Zero(0);
 		this->value[0] = col_type(s, Zero, Zero, Zero);
 		this->value[0] = col_type(s, Zero, Zero, Zero);
-		this->value[1] = col_type(Zero, Zero, Zero, Zero);
+		this->value[1] = col_type(Zero, s, Zero, Zero);
 	}
 	}
 
 
 	template <typename T> 
 	template <typename T>