mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-29 15:59:36 +00:00
Bugfix for polygon_line_intersection() for failing to find intersection.
This commit is contained in:
parent
3c3318de63
commit
7e0512e5f9
2 changed files with 2 additions and 1 deletions
|
@ -721,6 +721,7 @@ function polygon_line_intersection(poly, line, bounded=false, eps=EPSILON) =
|
|||
plane = plane3pt(p1,p2,p3),
|
||||
res = _general_plane_line_intersection(plane, line, eps=eps)
|
||||
)
|
||||
is_undef(res)? undef :
|
||||
bounded[0]&&res[1]<0? undef :
|
||||
bounded[1]&&res[1]>1? undef :
|
||||
let(
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,133];
|
||||
BOSL_VERSION = [2,0,134];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
|
Loading…
Reference in a new issue