changed epsilon value in InterpolationParameters
This commit is contained in:
parent
24cf3c430a
commit
1fa445c9fb
|
@ -84,7 +84,7 @@ public:
|
||||||
*/
|
*/
|
||||||
bool InterpolationParameters(const CoordType & bq, ScalarType &a, ScalarType &b, ScalarType &c ) const
|
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 AreaGlobal=(P(1) - P(0)) ^ (P(2) - P(0));
|
||||||
ScalarType Area0=((P(2) - P(1)) ^ (bq - P(1)));
|
ScalarType Area0=((P(2) - P(1)) ^ (bq - P(1)));
|
||||||
|
|
Loading…
Reference in New Issue