corrected UpdateNormal calls

This commit is contained in:
Nico Pietroni 2012-10-14 07:41:58 +00:00
parent a8e4104559
commit 210b348626
1 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ public:
assert(tri::HasPerFaceVFAdjacency(m) && tri::HasPerVertexVFAdjacency(m));
vcg::tri::UpdateNormals<MeshType>::PerVertexNormalized(m);
vcg::tri::UpdateNormal<MeshType>::PerVertexNormalized(m);
VertexIterator vi;
for (vi =m.vert.begin(); vi !=m.vert.end(); ++vi) {
@ -411,7 +411,7 @@ public:
SimpleTempData<VertContainer, AreaData> TDAreaPtr(m.vert);
SimpleTempData<VertContainer, typename MeshType::CoordType> TDContr(m.vert);
vcg::tri::UpdateNormals<MeshType>::PerVertexNormalized(m);
vcg::tri::UpdateNormal<MeshType>::PerVertexNormalized(m);
//Compute AreaMix in H (vale anche per K)
for(vi=m.vert.begin(); vi!=m.vert.end(); ++vi) if(!(*vi).IsD())
{