Corrected wrong assert in V(i) access function

This commit is contained in:
Paolo Cignoni 2006-12-29 13:13:00 +00:00
parent 2581b0015e
commit b226ba87ba
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.25 2006/12/04 16:06:12 cignoni
Added FFlip() and const VFlip() operators
Revision 1.24 2006/11/13 01:57:23 cignoni
Added a missing prototype to ismanifold
@ -166,7 +169,7 @@ public:
// access functions
VertexType *& V(){return f->UberV(z);}
VertexType *& V(const int & i){assert( (i>=0) && (i<2)); return f->UberV( (z +i) %3);}
VertexType *& V(const int & i){assert( (i>=0) && (i<3)); return f->UberV( (z +i) %3);}
/// Operator to compare two half-edge
inline bool operator == ( PosType const & p ) const {