changed function call from Distance to DistancePlanePoint

This commit is contained in:
Marco Callieri 2011-11-21 13:20:45 +00:00
parent 5bcb52529b
commit 7616955d64
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ namespace vcg {
//const ScalarType EPSILON = 0.00000001;
ScalarType b,b0,b1,b2;
// Calcolo distanza punto piano
ScalarType d = Distance( f.cPlane(), q );
ScalarType d = DistancePlanePoint( f.cPlane(), q );
if( d>dist || d<-dist ) // Risultato peggiore: niente di fatto
return false;