resolved some error on nextT on loopPos

This commit is contained in:
Nico Pietroni 2004-06-10 08:46:05 +00:00
parent e1d5d80ce7
commit 025069a560
1 changed files with 3 additions and 3 deletions

View File

@ -85,14 +85,14 @@ inline const int & Vi() const
inline bool End(){return (Vt()==NULL);}
/// move on the next tetrahedron that share the vertex
bool operator++()
void operator++()
{
int vi=Vi();
TetraType * tw = Vt();
Vt() = tw->TVp(vi);
Vi() = tw->TVi(vi);
assert(((tw->V(vi))==(Vt()->V(Vi())))||(Vt()==NULL));
return (Vt()!=NULL);
assert((Vt()==NULL)||((tw->V(vi))==(Vt()->V(Vi()))));
}
};