changed function call from Distance to DistancePlanePoint
This commit is contained in:
parent
5bcb52529b
commit
7616955d64
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue