From 62433e1f4093e368a3dc64e92b965d053b3351c8 Mon Sep 17 00:00:00 2001 From: CaptainCarrot Date: Thu, 14 Sep 2017 09:33:49 +0200 Subject: [PATCH] Update gtx_quaternion.cpp --- test/gtx/gtx_quaternion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtx/gtx_quaternion.cpp b/test/gtx/gtx_quaternion.cpp index 533c4ef4..28e31095 100644 --- a/test/gtx/gtx_quaternion.cpp +++ b/test/gtx/gtx_quaternion.cpp @@ -99,7 +99,7 @@ int test_quat_lookAt() glm::vec3 eye(0.0f); glm::vec3 center(1.1f, -2.0f, 3.1416f); - glm::vec3 up = glm::vec3(-0.17f, 7.23f, -1.744f); + glm::vec3 up(-0.17f, 7.23f, -1.744f); glm::quat test_quat = glm::quatLookAt(glm::normalize(center - eye), up); glm::quat test_mat = glm::conjugate(glm::quat_cast(glm::lookAt(eye, center, up)));