diff --git a/apps/pivoting/pivot.h b/apps/pivoting/pivot.h index 1964a685..49fe7263 100644 --- a/apps/pivoting/pivot.h +++ b/apps/pivoting/pivot.h @@ -624,7 +624,7 @@ class Pivot { std::vector &dists) { std::vector ptr; std::vector points; - int n = vcg::trimesh::GetInSphereVertex(mesh, grid, p, distance, ptr, dists, points); + int n = vcg::tri::GetInSphereVertex(mesh, grid, p, distance, ptr, dists, points); for(int i = 0; i < ptr.size(); i++) results.push_back(ptr[i] - &(mesh.vert[0])); return n;