diff --git a/hull.scad b/hull.scad index 1940fc5..e787edf 100644 --- a/hull.scad +++ b/hull.scad @@ -75,30 +75,36 @@ module hull_points(points, fast=false) { -function _backtracking(i,points,h,t,m) = - m= -1; - k = i>=0 ? _backtracking(ip[i],points,h,t,k)+1 : k, + k = i>=0 ? _backtracking(ip[i],points,h,t,k,all)+1 : k, h = [for(j=[0:1:k-2]) h[j], if(i>0) ip[i]], i = i-1 ) if( i==-1 ) h ][0] ;