cleaving bug fix

This commit is contained in:
Adrian Mariano 2022-02-26 09:57:08 -05:00
parent 670787fbb2
commit 67c0467871

View File

@ -444,7 +444,7 @@ function _bridge(pt, outer,eps) =
[for( i = idx(edges) )
let( edge = edges[i] )
// consider just descending outer edges at right of pt crossing ordinate pt.y
if( (edge[0].y > pt.y+eps)
if( (edge[0].y > pt.y) //+eps)
&& (edge[1].y <= pt.y)
&& _is_at_left(pt, [edge[1], edge[0]], eps) )
[ i,