From cde27e321a8f0e4939529462caf75ffb8ccd92e4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 20 Apr 2007 12:40:31 +0000 Subject: [PATCH] Corrected V() operator. It was plainly wrong. Luckly enough it was not very used --- vcg/simplex/face/pos.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/face/pos.h b/vcg/simplex/face/pos.h index db158a3d..7fab5e57 100644 --- a/vcg/simplex/face/pos.h +++ b/vcg/simplex/face/pos.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.28 2007/01/11 10:37:08 cignoni +Added include assert.h + Revision 1.27 2007/01/02 10:06:53 giec Added access functions F() @@ -176,8 +179,8 @@ public: } // access functions - VertexType *& V(){return f->UberV(z);} - VertexType *& V(const int & i){assert( (i>=0) && (i<3)); return f->UberV( (z +i) %3);} + VertexType *& V(){return v;} +// VertexType *& V(const int & i){assert( (i>=0) && (i<3)); return f->UberV( (z +i) %3);} FaceType *& F(){ return f;}