Skip to content

Commit

Permalink
replace DBL_EPSILON with variable GPC_EPSILON, thanks to Peter Vavaro…
Browse files Browse the repository at this point in the history
…utsos
  • Loading branch information
jraedler committed Jun 3, 2014
1 parent ba5ae28 commit 63d5951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static void add_st_edge(st_node **st, it_node **it, edge_node *edge,

/* If new edge and ST edge don't cross */
if ((edge->xt >= (*st)->xt) || (edge->dx == (*st)->dx) ||
(fabs(den) <= DBL_EPSILON))
(fabs(den) <= GPC_EPSILON))
{
/* No intersection - insert edge here (before the ST edge) */
existing_node= *st;
Expand Down

0 comments on commit 63d5951

Please sign in to comment.