1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 20:10:36 +02:00

fixed begin > end of [begin:end] warning

This commit is contained in:
Justin Lin
2017-05-22 17:23:42 +08:00
parent 0aedfca43c
commit f808ebc34f

View File

@@ -28,7 +28,7 @@ function shape_pie(radius, angle) =
edge_r_end = leng / cos((n + 0.5) * a_step - angles[1]),
shape_pts = concat(
[[0, 0], __ra_to_xy(edge_r_begin, angles[0])],
[
m > n ? [] : [
for(i = [m:n])
let(a = a_step * i)
__ra_to_xy(radius, a)