Corrected wrong assert in V(i) access function
This commit is contained in:
parent
2581b0015e
commit
b226ba87ba
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.24 2006/11/13 01:57:23 cignoni
|
||||||
Added a missing prototype to ismanifold
|
Added a missing prototype to ismanifold
|
||||||
|
|
||||||
|
@ -166,7 +169,7 @@ public:
|
||||||
|
|
||||||
// access functions
|
// access functions
|
||||||
VertexType *& V(){return f->UberV(z);}
|
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
|
/// Operator to compare two half-edge
|
||||||
inline bool operator == ( PosType const & p ) const {
|
inline bool operator == ( PosType const & p ) const {
|
||||||
|
|
Loading…
Reference in New Issue