diff --git a/vcg/simplex/vertex/distance.h b/vcg/simplex/vertex/distance.h index 1867be72..6e3434bf 100644 --- a/vcg/simplex/vertex/distance.h +++ b/vcg/simplex/vertex/distance.h @@ -56,7 +56,7 @@ template * @remarks The operator returns true if the closest distance is less than input reject distance. * */ - inline bool operator () (const VERTEXTYPE & v, const Point3 & p, SCALARTYPE & minDist, Point3 & q) + inline bool operator () (const VERTEXTYPE & v, const Point3 & p, SCALARTYPE & minDist, Point3 & q) const { // convert the coordinates of p from SCALARTYPE to VERTEXTYPE::ScalarType type const Point3 fp = Point3::Construct(p);