removed harmless warnings
This commit is contained in:
parent
2bdd323387
commit
445dad8458
|
@ -305,7 +305,7 @@ public:
|
|||
|
||||
numTriangles += n - 2;
|
||||
|
||||
size_t vBegin = vInfos.size();
|
||||
// size_t vBegin = vInfos.size();
|
||||
|
||||
VertexClipInfo<ScalarType> vnfo;
|
||||
TriangleInfo tnfo;
|
||||
|
|
|
@ -94,7 +94,6 @@ template <class MESH> class BallPivoting: public AdvancingFront<MESH> {
|
|||
}
|
||||
|
||||
bool Seed(int &v0, int &v1, int &v2) {
|
||||
bool use_normals = false;
|
||||
//get a sphere of neighbours
|
||||
std::vector<VertexType *> targets;
|
||||
std::vector<Point3x> points;
|
||||
|
@ -235,7 +234,7 @@ template <class MESH> class BallPivoting: public AdvancingFront<MESH> {
|
|||
std::vector<ScalarType> dists;
|
||||
std::vector<Point3x> 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.
|
||||
|
|
Loading…
Reference in New Issue