diff --git a/vcg/complex/algorithms/crease_cut.h b/vcg/complex/algorithms/crease_cut.h index 69df200c..cb00102f 100644 --- a/vcg/complex/algorithms/crease_cut.h +++ b/vcg/complex/algorithms/crease_cut.h @@ -66,7 +66,7 @@ void CreaseCut(MESH_TYPE &m, float angleRad) tri::Allocator::CompactVertexVector(m); tri::Allocator::CompactFaceVector(m); - tri::UpdateNormals::NormalizeFace(m); + tri::UpdateNormals::NormalizePerFace(m); assert(tri::HasFFAdjacency(m)); typename MESH_TYPE::ScalarType cosangle=math::Cos(angleRad); diff --git a/vcg/complex/algorithms/smooth.h b/vcg/complex/algorithms/smooth.h index 4bafff79..74547147 100644 --- a/vcg/complex/algorithms/smooth.h +++ b/vcg/complex/algorithms/smooth.h @@ -968,7 +968,7 @@ static void FaceNormalLaplacianFF(MeshType &m, int step=1, bool SmoothSelected=f assert(tri::HasFFAdjacency(m)); FaceIterator fi; - tri::UpdateNormals::AreaNormalizeFace(m); + tri::UpdateNormals::NormalizePerFaceByArea(m); for(int iStep=0;iStep