From 7030dbb15130893557b94731c2f7e24d169a8012 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 7 Dec 2009 08:31:01 +0000 Subject: [PATCH] small change. The FFp shortcuts seems no more used... --- vcg/simplex/face/topology.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vcg/simplex/face/topology.h b/vcg/simplex/face/topology.h index 8715e358..711e8272 100644 --- a/vcg/simplex/face/topology.h +++ b/vcg/simplex/face/topology.h @@ -481,13 +481,13 @@ static void FlipEdge(FaceType &f, const int z) f.V1(z) = g->V2(w); g->V1(w) = f.V2(z); - f.FFp(z) = g->FFp1(w); + f.FFp(z) = g->FFp((w+1)%3); f.FFi(z) = g->FFi((w+1)%3); - g->FFp(w) = f.FFp1(z); + g->FFp(w) = f.FFp((z+1)%3); g->FFi(w) = f.FFi((z+1)%3); - f.FFp1(z) = g; + f.FFp((z+1)%3) = g; f.FFi((z+1)%3) = (w+1)%3; - g->FFp1(w) = &f; + g->FFp((w+1)%3) = &f; g->FFi((w+1)%3) = (z+1)%3; if(f.FFp(z)==g)