mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Bugfix in hull() due to change in first_noncollinear()
This commit is contained in:
parent
e635755528
commit
b8e5171e3d
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ module hull_points(points, fast=false) {
|
|||
function hull2d_path(points) =
|
||||
(len(points) < 3)? [] : let(
|
||||
a=0, b=1,
|
||||
c = first_noncollinear(a, b, points, 2)
|
||||
c = first_noncollinear(a, b, points)
|
||||
) (c == len(points))? _hull2d_collinear(points) : let(
|
||||
remaining = [ for (i = [2:1:len(points)-1]) if (i != c) i ],
|
||||
ccw = triangle_area(points[a], points[b], points[c]) > 0,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,209];
|
||||
BOSL_VERSION = [2,0,210];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
|
Loading…
Reference in a new issue