Skip to content

Commit

Permalink
A trivial fix for the data set, but does not work when the face norma…
Browse files Browse the repository at this point in the history
…ls are slightly perturbed
  • Loading branch information
afabri committed Jan 10, 2025
1 parent 924bfdf commit 125a0d6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 125a0d6

Please sign in to comment.