mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
tests: fix quat_look test
This commit is contained in:
1 parent
f53fd45026
commit
6abe3f05ab
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user