Updated to reflect the naming changes in updateNormals

This commit is contained in:
Paolo Cignoni 2012-10-11 11:11:33 +00:00
parent 41060feef9
commit 6739455da9
1 changed files with 2 additions and 2 deletions

View File

@ -327,8 +327,8 @@ template <class OLD_MESH_TYPE,class NEW_MESH_TYPE, class FLT, class DISTFUNCTOR
_oldM=&old_mesh; _oldM=&old_mesh;
// the following two steps are required to be sure that the point-face distance without precomputed data works well. // the following two steps are required to be sure that the point-face distance without precomputed data works well.
tri::UpdateNormals<Old_Mesh>::PerFaceNormalized(old_mesh); tri::UpdateNormal<Old_Mesh>::PerFaceNormalized(old_mesh);
tri::UpdateNormals<Old_Mesh>::PerVertexAngleWeighted(old_mesh); tri::UpdateNormal<Old_Mesh>::PerVertexAngleWeighted(old_mesh);
int _size=(int)old_mesh.fn*100; int _size=(int)old_mesh.fn*100;
_g.Set(_oldM->face.begin(),_oldM->face.end(),_size); _g.Set(_oldM->face.begin(),_oldM->face.end(),_size);