Christophe Riccio hace 14 años
padre
commit
8876a7f7f4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      test/core/core_type_vec2.cpp

+ 2 - 2
test/core/core_type_vec2.cpp

@@ -154,8 +154,8 @@ int test_vec2_operators()
 	}
 	
 	{
-		glm::vec3 A(1.0f, 2.0f);
-		glm::vec3 B = -A;
+		glm::vec2 A(1.0f, 2.0f);
+		glm::vec2 B = -A;
 		Error += B == glm::vec2(-1.0f, -2.0f) ? 0 : 1;
 	}