last_seed++ shodl have been ++last_seed

This commit is contained in:
Federico Ponchio 2008-06-30 08:46:06 +00:00
parent 3c81fe2f0e
commit a4a0d6acf3
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ template <class MESH> class BallPivoting: public AdvancingFront<MESH> {
std::vector<VertexType *> targets; std::vector<VertexType *> targets;
std::vector<Point3x> points; std::vector<Point3x> points;
std::vector<ScalarType> dists; std::vector<ScalarType> dists;
while(last_seed++ < (int)(this->mesh.vert.size())) { while(++last_seed < (int)(this->mesh.vert.size())) {
VertexType &seed = this->mesh.vert[last_seed]; VertexType &seed = this->mesh.vert[last_seed];
if(seed.IsD() || seed.IsUserBit(usedBit)) continue; if(seed.IsD() || seed.IsUserBit(usedBit)) continue;