1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 09:44:16 +02:00

should be less than

This commit is contained in:
Justin Lin
2019-05-29 13:49:43 +08:00
parent 6a83c26e9b
commit 90b2d542ef

View File

@@ -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);