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:
parent
48e607f884
commit
c32db09276
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue