From b8e5171e3d58e54a24bc59e9596ce0ad22816e2a Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sat, 21 Mar 2020 15:16:31 -0700 Subject: [PATCH] Bugfix in hull() due to change in first_noncollinear() --- hull.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hull.scad b/hull.scad index 29e7ffe..1492d85 100644 --- a/hull.scad +++ b/hull.scad @@ -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, diff --git a/version.scad b/version.scad index 1ed74dc..32f7ee4 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,209]; +BOSL_VERSION = [2,0,210]; // Section: BOSL Library Version Functions