Updated to reflect the naming changes in updateNormals
This commit is contained in:
parent
feeec9f979
commit
f53f93d553
|
@ -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);
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue