From dddce06a72d8bd92d3409ffbc33a5483dfb311dd Mon Sep 17 00:00:00 2001 From: ganovelli Date: Tue, 14 Oct 2008 09:47:16 +0000 Subject: [PATCH] use of NextFE (of the jumping_pos) instead of NextE --- vcg/complex/trimesh/update/curvature.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vcg/complex/trimesh/update/curvature.h b/vcg/complex/trimesh/update/curvature.h index 56dbb382..6611ceab 100644 --- a/vcg/complex/trimesh/update/curvature.h +++ b/vcg/complex/trimesh/update/curvature.h @@ -608,9 +608,8 @@ public: for(vi = m.vert.begin(); vi != m.vert.end(); ++vi){ vcg::Matrix33 m33;m33.SetZero(); face::JumpingPos p((*vi).VFp(),&(*vi)); - - typename MeshType::VertexType * firstv = p.VFlip(); p.FlipE(); + typename MeshType::VertexType * firstv = p.VFlip(); assert(p.F()->V(p.VInd())==&(*vi)); @@ -631,7 +630,7 @@ public: m33[1][2] += beta*edge_length*normalized_edge[2]*normalized_edge[1]; m33[2][2] += beta*edge_length*normalized_edge[2]*normalized_edge[2]; } - p.NextE(); + p.NextFE(); }while(firstv != p.VFlip()); if(m33.Determinant()==0.0){ // degenerate case