From e746fc88c0ad351eb670358577b91fcc9fc7819f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 30 Dec 2010 12:19:13 +0100 Subject: [PATCH] Lowered fuzzy compare precision even more Reason for that was that Matrix(m)*Matrix(m).inverse() == Matrix() shouldn't fail with overprecision. --- src/Math/constants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Math/constants.h b/src/Math/constants.h index 64dfeb0b0..cd79e4a78 100644 --- a/src/Math/constants.h +++ b/src/Math/constants.h @@ -24,8 +24,8 @@ namespace Magnum { namespace Math { /** @brief Pi */ #define PI 3.1415926535 -/** @brief Maximal tolerance when comparing doubles */ -#define EPSILON 1.0e-7 +/** @brief Maximal tolerance when comparing floats */ +#define EPSILON 1.0e-6 }}