diff --git a/src/hull_polyline2d.scad b/src/hull_polyline2d.scad index e612778f..4f68808f 100644 --- a/src/hull_polyline2d.scad +++ b/src/hull_polyline2d.scad @@ -21,9 +21,9 @@ module hull_polyline2d(points, width) { point2 = points[index]; hull() { - translate(points[index - 1]) + translate(point1) circle(half_width); - translate(points[index]) + translate(point2) circle(half_width); }