diff --git a/test/core/core_func_matrix.cpp b/test/core/core_func_matrix.cpp index 05b5d7a7..047a4956 100644 --- a/test/core/core_func_matrix.cpp +++ b/test/core/core_func_matrix.cpp @@ -54,7 +54,7 @@ int test_transpose() { glm::mat3x2 m(0, 1, 2, 3, 4, 5); glm::mat2x3 t = glm::transpose(m); - Error += t == glm::mat2x3(0, 3, 1, 4, 2, 5) ? 0 : 1; + Error += t == glm::mat2x3(0, 2, 4, 1, 3, 5) ? 0 : 1; } { @@ -72,13 +72,13 @@ int test_transpose() { glm::mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); glm::mat2x4 t = glm::transpose(m); - Error += t == glm::mat2x4(0, 4, 1, 5, 2, 6, 3, 7) ? 0 : 1; + Error += t == glm::mat2x4(0, 2, 4, 6, 1, 3, 5, 7) ? 0 : 1; } { glm::mat4x3 m(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11); glm::mat3x4 t = glm::transpose(m); - Error += t == glm::mat3x4(0, 4, 8, 1, 5, 9, 2, 6, 10, 3, 7, 11) ? 0 : 1; + Error += t == glm::mat3x4(0, 3, 6, 9, 1, 4, 7, 10, 2, 5, 8, 11) ? 0 : 1; } return Error;