From f82d23949a2da0580be01105aa7c632c8c7909ac Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 5 Aug 2018 19:04:52 +0200 Subject: [PATCH] Fixed build --- test/core/core_type_mat4x4.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp index 0ba9df0b..34ccc463 100644 --- a/test/core/core_type_mat4x4.cpp +++ b/test/core/core_type_mat4x4.cpp @@ -45,6 +45,8 @@ template static int test_inverse() { typedef typename matType::value_type value_type; + + value_type const Epsilon = 0.001f; int Error = 0; @@ -57,7 +59,6 @@ static int test_inverse() matType const Inverse = Identity / Matrix; matType const Result = Matrix * Inverse; - value_type const Epsilon(0.001); Error += glm::all(glm::equal(Identity, Result, Epsilon)) ? 0 : 1; return Error;