mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
Added two pair of missing (forgotten?) UpdateNormals::PerFaceNormalized and UpdateFlags::FaceProjection(*m);
This commit is contained in:
parent
11923228ca
commit
7d615e0b6f
@ -164,6 +164,9 @@ public:
|
||||
closestPtMesh = _closestMesh;
|
||||
if(m)
|
||||
{
|
||||
tri::UpdateNormals<CMeshO>::PerFaceNormalized(*m);
|
||||
tri::UpdateFlags<CMeshO>::FaceProjection(*m);
|
||||
|
||||
unifFaceGrid.Set(m->face.begin(),m->face.end());
|
||||
markerFunctor.SetMesh(m);
|
||||
hist.SetRange(0.0, m->bbox.Diag()/100.0, 100);
|
||||
@ -269,6 +272,8 @@ public:
|
||||
m=_m;
|
||||
if(m)
|
||||
{
|
||||
tri::UpdateNormals<CMeshO>::PerFaceNormalized(*m);
|
||||
tri::UpdateFlags<CMeshO>::FaceProjection(*m);
|
||||
unifGrid.Set(m->face.begin(),m->face.end());
|
||||
markerFunctor.SetMesh(m);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user