mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-13 23:14:22 +02:00
correct typo from prior fix
This commit is contained in:
@@ -446,7 +446,7 @@ function line_from_points(points, check_collinear=false, eps=EPSILON) =
|
||||
evec = unit(covmix[1]), // normalized eigenvector corresponding to largest eigenvalue
|
||||
maxext = let(b=pointlist_bounds(points)) norm(b[1]-b[0])/2,
|
||||
line3d = [pm-evec*maxext, pm+evec*maxext],
|
||||
line = twod ? path2d(line3d) : line
|
||||
line = twod ? path2d(line3d) : line3d
|
||||
)
|
||||
check_collinear && _line_greatest_distance(points,line)>eps ? undef
|
||||
: line;
|
||||
|
Reference in New Issue
Block a user