From 1fa445c9fb51cbcd6096f76ca9efe4b4e50b9ddc Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Tue, 30 Jun 2009 16:15:51 +0000 Subject: [PATCH] changed epsilon value in InterpolationParameters --- vcg/space/triangle2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/space/triangle2.h b/vcg/space/triangle2.h index 2668bb1e..cd76e1a7 100644 --- a/vcg/space/triangle2.h +++ b/vcg/space/triangle2.h @@ -84,7 +84,7 @@ public: */ bool InterpolationParameters(const CoordType & bq, ScalarType &a, ScalarType &b, ScalarType &c ) const { - const ScalarType EPSILON = ScalarType(0.000001); + const ScalarType EPSILON = ScalarType(0.0001f); ScalarType AreaGlobal=(P(1) - P(0)) ^ (P(2) - P(0)); ScalarType Area0=((P(2) - P(1)) ^ (bq - P(1)));