From 6abe3f05ab2d2f60d13aeca9a31fa9a4bd4395fe Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Fri, 17 Jan 2020 15:17:02 +0300 Subject: [PATCH] tests: fix quat_look test --- test/src/test_quat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/test_quat.h b/test/src/test_quat.h index b16732a..2d4625c 100644 --- a/test/src/test_quat.h +++ b/test/src/test_quat.h @@ -754,7 +754,7 @@ TEST_IMPL(GLM_PREFIX, quat_look) { glm_quat(q1, glm_rad(180.0f), 1.0f, 0.0f, 0.0f); GLM(quat_look)(v1, q1, m1); - glm_look(v1, (vec3){0.0f, 0.0f, 1.0f}, GLM_YUP, m2); + glm_look(v1, (vec3){0.0f, 0.0f, 1.0f}, (vec3){0.0f, -1.0f, 0.0f}, m2); ASSERTIFY(test_assert_mat4_eq(m1, m2));