diff --git a/vcg/complex/trimesh/clip.h b/vcg/complex/trimesh/clip.h index d5e76cd8..ef3f2347 100644 --- a/vcg/complex/trimesh/clip.h +++ b/vcg/complex/trimesh/clip.h @@ -305,7 +305,7 @@ public: numTriangles += n - 2; - size_t vBegin = vInfos.size(); +// size_t vBegin = vInfos.size(); VertexClipInfo vnfo; TriangleInfo tnfo; diff --git a/vcg/complex/trimesh/create/ball_pivoting.h b/vcg/complex/trimesh/create/ball_pivoting.h index 10375b30..6f71693e 100644 --- a/vcg/complex/trimesh/create/ball_pivoting.h +++ b/vcg/complex/trimesh/create/ball_pivoting.h @@ -94,7 +94,6 @@ template class BallPivoting: public AdvancingFront { } bool Seed(int &v0, int &v1, int &v2) { - bool use_normals = false; //get a sphere of neighbours std::vector targets; std::vector points; @@ -235,7 +234,7 @@ template class BallPivoting: public AdvancingFront { std::vector dists; std::vector points; - int n = tri::GetInSphereVertex(this->mesh, grid, middle, r + radius, targets, dists, points); + tri::GetInSphereVertex(this->mesh, grid, middle, r + radius, targets, dists, points); if(targets.size() == 0) { return -1; //this really would be strange but one never knows.