simple comments and re-indentation for better reading

This commit is contained in:
Paolo Cignoni 2012-11-10 14:36:54 +00:00
parent a1e4341c98
commit 2a21d5fb8e
1 changed files with 44 additions and 45 deletions

View File

@ -195,13 +195,12 @@ public:
pu.newEnd = &m.vert.back()+1; pu.newEnd = &m.vert.back()+1;
if(pu.NeedUpdate()) if(pu.NeedUpdate())
{ {
FaceIterator fi; for (FaceIterator fi=m.face.begin(); fi!=m.face.end(); ++fi)
for (fi=m.face.begin(); fi!=m.face.end(); ++fi)
if(!(*fi).IsD()) if(!(*fi).IsD())
for(int i=0; i < (*fi).VN(); ++i) for(int i=0; i < (*fi).VN(); ++i)
if ((*fi).cV(i)!=0) pu.Update((*fi).V(i)); if ((*fi).cV(i)!=0) pu.Update((*fi).V(i));
EdgeIterator ei;
for (ei=m.edge.begin(); ei!=m.edge.end(); ++ei) for (EdgeIterator ei=m.edge.begin(); ei!=m.edge.end(); ++ei)
if(!(*ei).IsD()) if(!(*ei).IsD())
{ {
if(HasEVAdjacency (m)) { pu.Update((*ei).V(0)); pu.Update((*ei).V(1));} if(HasEVAdjacency (m)) { pu.Update((*ei).V(0)); pu.Update((*ei).V(1));}