From ba4a51e02d28f8bd290409df59c307bea0169152 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 9 Oct 2012 08:00:25 +0000 Subject: [PATCH] Updated to reflect the naming changes in updateNormals --- vcg/complex/algorithms/clean.h | 8 ++++---- vcg/complex/algorithms/smooth.h | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index c6e419c5..b30c391f 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -1316,8 +1316,8 @@ private: { if(m.vert.empty()) return false; - tri::UpdateNormals::PerVertexAngleWeighted(m); - tri::UpdateNormals::NormalizePerVertex(m); + tri::UpdateNormal::PerVertexAngleWeighted(m); + tri::UpdateNormal::NormalizePerVertex(m); std::vector< VertexPointer > minVertVec; std::vector< VertexPointer > maxVertVec; @@ -1407,7 +1407,7 @@ private: } } - // tri::UpdateNormals::PerFace(m); + // tri::UpdateNormal::PerFace(m); } while( repeat && count ); return total; @@ -1456,7 +1456,7 @@ private: } } - // tri::UpdateNormals::PerFace(m); + // tri::UpdateNormal::PerFace(m); } while( repeat && count ); return total; diff --git a/vcg/complex/algorithms/smooth.h b/vcg/complex/algorithms/smooth.h index 74547147..e1356984 100644 --- a/vcg/complex/algorithms/smooth.h +++ b/vcg/complex/algorithms/smooth.h @@ -914,7 +914,7 @@ static void FaceNormalLaplacianVF(MeshType &m) FaceIterator fi; - tri::UpdateNormals::AreaNormalizeFace(m); + tri::UpdateNormal::AreaNormalizeFace(m); for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) { @@ -948,7 +948,7 @@ static void FaceNormalLaplacianVF(MeshType &m) for(fi=m.face.begin();fi!=m.face.end();++fi) (*fi).N()=TDF[*fi].m; - tri::UpdateNormals::NormalizePerFace(m); + tri::UpdateNormal::NormalizePerFace(m); TDF.Stop(); } @@ -968,7 +968,7 @@ static void FaceNormalLaplacianFF(MeshType &m, int step=1, bool SmoothSelected=f assert(tri::HasFFAdjacency(m)); FaceIterator fi; - tri::UpdateNormals::NormalizePerFaceByArea(m); + tri::UpdateNormal::NormalizePerFaceByArea(m); for(int iStep=0;iStep::NormalizePerFace(m); + tri::UpdateNormal::NormalizePerFace(m); } } @@ -1200,7 +1200,7 @@ static void VertexCoordPasoDoble(MeshType &m, int step, typename MeshType::Scala for(int j=0;j::PerFace(m); + vcg::tri::UpdateNormal::PerFace(m); FaceNormalAngleThreshold(m,TDF,Sigma); for(int k=0;k