Skip to content

Commit

Permalink
3d-quickhull: Fix issue with many points on one plane
Browse files Browse the repository at this point in the history
  • Loading branch information
GNSS-Stylist committed Nov 5, 2024
1 parent b5d28ba commit f739ae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ int qh__face_can_see_vertex_epsilon(qh_context_t* context, qh_face_t* face, qh_v
} else {
dot = fabsf(dot);

if (dot <= epsilon && dot >= 0) {
if (dot <= epsilon && dot > 0) {
qh_vec3_t n = face->normal;

// allow epsilon degeneration along the face normal
Expand Down

0 comments on commit f739ae5

Please sign in to comment.