changed epsilon value in InterpolationParameters

This commit is contained in:
Nico Pietroni 2009-06-30 16:15:51 +00:00
parent 24cf3c430a
commit 1fa445c9fb
1 changed files with 1 additions and 1 deletions

View File

@ -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)));