From 90b2d542ef4d0e352b0e3775981763716ff48cef Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 29 May 2019 13:49:43 +0800 Subject: [PATCH] should be less than --- src/__private__/__line_intersection.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__private__/__line_intersection.scad b/src/__private__/__line_intersection.scad index a72cfb44..53334a15 100644 --- a/src/__private__/__line_intersection.scad +++ b/src/__private__/__line_intersection.scad @@ -8,5 +8,5 @@ function __line_intersection(line_pts1, line_pts2, epsilon = 0.0001) = b = b2 - b1, s = b1 - a1 ) - abs(cross(a, b)) == epsilon ? [] : // they are parallel or conincident edges + abs(cross(a, b)) < epsilon ? [] : // they are parallel or conincident edges a1 + a * cross(s, b) / cross(a, b); \ No newline at end of file