Browse Source

Fixed test

Christophe Riccio 8 years ago
parent
commit
85811f3860
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/core/core_type_mat4x4.cpp

+ 2 - 1
test/core/core_type_mat4x4.cpp

@@ -227,7 +227,8 @@ int test_ctr()
 		{0, 0, 1, 0},
 		{0, 0, 0, 1} };
 
-	Error += glm::equal(m4[0][3], 1.0f, 0.0001f) ? 0 : 1;
+	Error += glm::equal(m4[0][0], 1.0f, 0.0001f) ? 0 : 1;
+	Error += glm::equal(m4[3][3], 1.0f, 0.0001f) ? 0 : 1;
 
 	std::vector<glm::mat4> v1{
 		{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},