diff --git a/geometry.scad b/geometry.scad index 4717190..4131ee3 100644 --- a/geometry.scad +++ b/geometry.scad @@ -61,6 +61,7 @@ function _point_above_below_segment(point, edge) = // c = Third point. // eps = Acceptable variance. Default: `EPSILON` (1e-9) function collinear(a, b, c, eps=EPSILON) = + approx(a,b,eps=eps)? true : distance_from_line([a,b], c) < eps; diff --git a/version.scad b/version.scad index e3d7cbb..d50ace7 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,253]; +BOSL_VERSION = [2,0,254]; // Section: BOSL Library Version Functions