Changed the name of the Distance from point to plane

from DistancePointPlane
to     SignedDistancePointPlane
to underline the fact that it is SIGNED!!!
This commit is contained in:
Paolo Cignoni 2012-01-23 06:47:31 +00:00
parent 48e607f884
commit c32db09276
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 = DistancePlanePoint( f.cPlane(), q );
ScalarType d = SignedDistancePlanePoint( f.cPlane(), q );
if( d>dist || d<-dist ) // Risultato peggiore: niente di fatto
return false;