1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-29 09:19:59 +02:00
This commit is contained in:
Justin Lin
2020-01-11 14:05:53 +08:00
parent b80cb1a3b6
commit 64f39ff904

View File

@@ -1,7 +1,6 @@
function __shape_pie(radius, angle) =
let(
frags = __frags(radius),
a_step = 360 / frags,
a_step = 360 / __frags(radius),
leng = radius * cos(a_step / 2),
angles = is_num(angle) ? [0:angle] : angle,
m = floor(angles[0] / a_step) + 1,