diff --git a/vcg/simplex/face/distance.h b/vcg/simplex/face/distance.h index 56d9f5c6..bfd8ed3b 100644 --- a/vcg/simplex/face/distance.h +++ b/vcg/simplex/face/distance.h @@ -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;