From 38c1cc7aaf4fb4660e55e6469d1b8c64f367103e Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Thu, 3 Jul 2008 10:22:37 +0000 Subject: [PATCH] changed epsilon value on InterpolationParameters function --- 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 47764301..eb0581ed 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.0001); + const ScalarType EPSILON = ScalarType(0.000001); //ScalarType AreaGlobal=(P(1) - P(0)) ^ (P(2) - P(0)); ScalarType Area0=(P(2) - P(1)) ^ (bq - P(1));