1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-02-24 17:42:44 +01:00

c-style for loop

This commit is contained in:
Justin Lin 2019-06-12 13:36:48 +08:00
parent e34bc73def
commit 700f46bfef

View File

@ -51,7 +51,7 @@ function bijection_offset(pts, d, epsilon = 0.0001) =
) )
concat( concat(
[ [
for(i = [0:leng - 2]) for(i = 0; i < leng - 1; i = i + 1)
let( let(
this_edge = offset_es[i], this_edge = offset_es[i],
next_edge = offset_es[i + 1], next_edge = offset_es[i + 1],