A trivial fix for the data set, but does not work when the face normals are slightly perturbed

This commit is contained in:
Andreas Fabri 2025-01-10 09:16:17 +00:00
parent 924bfdf2c3
commit 125a0d6041
1 changed files with 3 additions and 0 deletions

View File

@ -516,6 +516,9 @@ compute_vertex_normal_most_visible_min_circle(typename boost::graph_traits<Polyg
if(f == boost::graph_traits<PolygonMesh>::null_face())
continue;
if((! incident_faces.empty()) && (get(face_normals, incident_faces.back()) == get(face_normals, f)) )
continue;
incident_faces.push_back(f);
}