diff --git a/src/polyhedra/geom_star.scad b/src/polyhedra/geom_star.scad index cb359ca4..ad36f2bd 100644 --- a/src/polyhedra/geom_star.scad +++ b/src/polyhedra/geom_star.scad @@ -1,4 +1,4 @@ -function star(outerRadius = 1, innerRadius = 0.381966, height = 0.5, n = 5) = +function geom_star(outerRadius = 1, innerRadius = 0.381966, height = 0.5, n = 5) = let( right = 90, thetaStep = 360 / n, diff --git a/src/polyhedra/star.scad b/src/polyhedra/star.scad index 6d689841..20ea06c4 100644 --- a/src/polyhedra/star.scad +++ b/src/polyhedra/star.scad @@ -11,6 +11,6 @@ use ; module star(outerRadius = 1, innerRadius = 0.381966, height = 0.5, n = 5) { - points_faces = star(outerRadius, innerRadius, height, n); + points_faces = geom_star(outerRadius, innerRadius, height, n); polyhedron(points_faces[0], points_faces[1]); } \ No newline at end of file