1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

remove if(m <= n)

This commit is contained in:
Justin Lin
2022-05-16 09:05:31 +08:00
parent d0ec3a2b37
commit 6d83e02312

View File

@@ -25,7 +25,7 @@ function shape_pie(radius, angle) =
shape_pts = [ shape_pts = [
[0, 0], [0, 0],
__ra_to_xy(edge_r_begin, a0), __ra_to_xy(edge_r_begin, a0),
if(m <= n) each [ each [
for(i = m; i <= n; i = i + 1) for(i = m; i <= n; i = i + 1)
__ra_to_xy(radius, a_step * i) __ra_to_xy(radius, a_step * i)
], ],