mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-28 15:59:45 +00:00
Remove general_line_intersection kludge
This commit is contained in:
parent
b60123a886
commit
8cfb77cf64
1 changed files with 0 additions and 4 deletions
|
@ -176,11 +176,7 @@ function line_normal(p1,p2) =
|
|||
// the extension of the segment. If lines are parallel or coincident then
|
||||
// it returns undef.
|
||||
|
||||
// This kludge of calling path2d is because vnf_bend passed 3d input. FIXME!
|
||||
|
||||
function _general_line_intersection(s1,s2,eps=EPSILON) =
|
||||
len(s1[0])==3 ? _general_line_intersection(path2d(s1), path2d(s2),eps)
|
||||
:
|
||||
let(
|
||||
denominator = cross(s1[0]-s1[1],s2[0]-s2[1])
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue