From 8892c7da59665a0560360787eab85e6718cf7748 Mon Sep 17 00:00:00 2001 From: Groove Date: Sun, 29 Jul 2018 01:06:17 +0200 Subject: [PATCH] Fixed build error --- test/gtc/gtc_quaternion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtc/gtc_quaternion.cpp b/test/gtc/gtc_quaternion.cpp index 1086c50d..208aba74 100644 --- a/test/gtc/gtc_quaternion.cpp +++ b/test/gtc/gtc_quaternion.cpp @@ -220,7 +220,7 @@ int test_quat_mul() temp7 *= temp5; temp7 *= glm::inverse(temp5); - Error += temp7 != glm::quat(1.0f, glm::vec3(0.0, 1.0, 0.0)); + Error += glm::any(glm::notEqual(temp7, glm::quat(1.0f, glm::vec3(0.0, 1.0, 0.0)), glm::epsilon())) ? 1 : 0; return Error; }