Updated to reflect the naming changes in updateNormals

This commit is contained in:
Paolo Cignoni 2012-10-08 10:27:19 +00:00
parent feeec9f979
commit f53f93d553
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ void CreaseCut(MESH_TYPE &m, float angleRad)
tri::Allocator<MESH_TYPE>::CompactVertexVector(m);
tri::Allocator<MESH_TYPE>::CompactFaceVector(m);
tri::UpdateNormals<MESH_TYPE>::NormalizeFace(m);
tri::UpdateNormals<MESH_TYPE>::NormalizePerFace(m);
assert(tri::HasFFAdjacency(m));
typename MESH_TYPE::ScalarType cosangle=math::Cos(angleRad);

View File

@ -968,7 +968,7 @@ static void FaceNormalLaplacianFF(MeshType &m, int step=1, bool SmoothSelected=f
assert(tri::HasFFAdjacency(m));
FaceIterator fi;
tri::UpdateNormals<MeshType>::AreaNormalizeFace(m);
tri::UpdateNormals<MeshType>::NormalizePerFaceByArea(m);
for(int iStep=0;iStep<step;++iStep)
{
for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD())