From 210b348626a295599d81e8426d081184ce6fe1f3 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Sun, 14 Oct 2012 07:41:58 +0000 Subject: [PATCH] corrected UpdateNormal calls --- vcg/complex/algorithms/update/curvature.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/update/curvature.h b/vcg/complex/algorithms/update/curvature.h index c2cac5c0..b842011e 100644 --- a/vcg/complex/algorithms/update/curvature.h +++ b/vcg/complex/algorithms/update/curvature.h @@ -126,7 +126,7 @@ public: assert(tri::HasPerFaceVFAdjacency(m) && tri::HasPerVertexVFAdjacency(m)); - vcg::tri::UpdateNormals::PerVertexNormalized(m); + vcg::tri::UpdateNormal::PerVertexNormalized(m); VertexIterator vi; for (vi =m.vert.begin(); vi !=m.vert.end(); ++vi) { @@ -411,7 +411,7 @@ public: SimpleTempData TDAreaPtr(m.vert); SimpleTempData TDContr(m.vert); - vcg::tri::UpdateNormals::PerVertexNormalized(m); + vcg::tri::UpdateNormal::PerVertexNormalized(m); //Compute AreaMix in H (vale anche per K) for(vi=m.vert.begin(); vi!=m.vert.end(); ++vi) if(!(*vi).IsD()) {