From 5e88bb0da2524866d46912042fe4c802ce6349bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 26 Jul 2014 18:48:42 +0200 Subject: [PATCH] Math: less strict precision for comparing floats. Now the viewer example is usable again. --- src/Magnum/Math/TypeTraits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/TypeTraits.h b/src/Magnum/Math/TypeTraits.h index 109137c48..7a5fb6914 100644 --- a/src/Magnum/Math/TypeTraits.h +++ b/src/Magnum/Math/TypeTraits.h @@ -35,7 +35,7 @@ /** @brief Precision when testing floats for equality */ #ifndef FLOAT_EQUALITY_PRECISION -#define FLOAT_EQUALITY_PRECISION 1.0e-6f +#define FLOAT_EQUALITY_PRECISION 1.0e-5f #endif /** @brief Precision when testing doubles for equality */