1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

c-style for loop

This commit is contained in:
Justin Lin
2019-06-13 20:37:16 +08:00
parent e5850f871d
commit 6299da9d23

View File

@@ -14,9 +14,9 @@ function paths2sections(paths) =
leng_paths = len(paths)
)
[
for(i = [0:leng_path - 1])
for(i = 0; i < leng_path; i = i + 1)
[
for(j = [0:leng_paths - 1])
for(j = 0; j < leng_paths; j = j + 1)
paths[j][i]
]
];