From f31d87a79cf7105e691f8bf3ea074e023a0fecb0 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Tue, 11 May 2004 16:03:18 +0000 Subject: [PATCH] changed from "thi" to "&f" in Vfdetach --- vcg/simplex/face/topology.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/face/topology.h b/vcg/simplex/face/topology.h index f5c48433..53d51397 100644 --- a/vcg/simplex/face/topology.h +++ b/vcg/simplex/face/topology.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.5 2004/05/10 15:20:49 cignoni +Updated names of POS and adj functions to the new standards for many functions + Revision 1.4 2004/03/18 16:00:10 cignoni minor changes @@ -212,7 +215,7 @@ void Swap (SwapFaceType &f, const int z ) template void VFDetach(FaceType & f, int z) { - if(f.V(z)->Fp()==this ) + if(f.V(z)->Fp()==&f ) { int fz = f.V(z)->Zp(); f.V(z)->Fp() = (face_from_vert_type *) f.F(fz); @@ -230,7 +233,7 @@ void VFDetach(FaceType & f, int z) y = x; x.NextF(); assert(x.f!=0); - if(x.f==this) + if(x.f==&f) { y.f->F(y.z) = f.F(z); y.f->Z(y.z) = f.Z(z);