Преглед изворни кода

Merge pull request #70 from Adellica/0.9.4

Fixed mat2x4 value-type constructor, issue #70
Christophe Riccio пре 12 година
родитељ
комит
e5172fb284
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
 		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>