From 59f52e3bcc591e58e3e087e14e55a5416d93d957 Mon Sep 17 00:00:00 2001 From: CaptainCarrot Date: Tue, 21 Nov 2017 21:35:42 +0100 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 f0708151..8ec3bb3c 100644 --- a/test/gtx/gtx_quaternion.cpp +++ b/test/gtx/gtx_quaternion.cpp @@ -105,7 +105,7 @@ int test_quat_lookAt() glm::quat test_quat_LH = glm::quatLookAtLH(glm::normalize(center - eye), up); glm::quat test_mat_LH = glm::conjugate(glm::quat_cast(glm::lookAtLH(eye, center, up))); Error += static_cast(glm::abs(glm::length(test_quat_LH) - 1.0f) > glm::epsilon()); - Error += static_cast(glm::min(glm::length(test_quat_LH - test_mat_LH), glm::length(test_quat_LH + test_mat_RH)) > glm::epsilon()); + Error += static_cast(glm::min(glm::length(test_quat_LH - test_mat_LH), glm::length(test_quat_LH + test_mat_LH)) > glm::epsilon()); // Test right-handed implementation glm::quat test_quat_RH = glm::quatLookAtRH(glm::normalize(center - eye), up);