From 75a711dffb18469ad5586b271b3e894aaa42bcba Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 23 Jul 2018 20:59:29 +0200 Subject: [PATCH] Fixed tests --- test/gtx/gtx_intersect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gtx/gtx_intersect.cpp b/test/gtx/gtx_intersect.cpp index 7c6e74e5..5a575490 100644 --- a/test/gtx/gtx_intersect.cpp +++ b/test/gtx/gtx_intersect.cpp @@ -37,7 +37,7 @@ int test_intersectLineTriangle() bool const Result = glm::intersectLineTriangle(Orig, Dir, Vert0, Vert1, Vert2, Position); - Error += glm::all(glm::epsilonEqual(Position, glm::vec3(0), std::numeric_limits::epsilon())) ? 0 : 1; + Error += glm::all(glm::epsilonEqual(Position, glm::vec3(2.0f, 0.0f, 0.0f), std::numeric_limits::epsilon())) ? 0 : 1; Error += Result ? 0 : 1; return Error;