Updated to reflect the naming changes in updateNormals

This commit is contained in:
Paolo Cignoni 2012-10-09 07:48:22 +00:00
parent dd520b4fc4
commit bc3952ccc1
1 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>::NormalizePerFace(m);
tri::UpdateNormal<MESH_TYPE>::NormalizePerFace(m);
assert(tri::HasFFAdjacency(m));
typename MESH_TYPE::ScalarType cosangle=math::Cos(angleRad);
@ -138,7 +138,7 @@ void CreaseCut(MESH_TYPE &m, float angleRad)
(*fi).V(j) = & m.vert[curVertexInd];
}
}
tri::UpdateNormals<MESH_TYPE>::PerVertexFromCurrentFaceNormal(m);
tri::UpdateNormal<MESH_TYPE>::PerVertexFromCurrentFaceNormal(m);
}
} // end namespace tri