mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
use c-style for loop
This commit is contained in:
@@ -1,6 +1 @@
|
||||
function __reverse(vt) =
|
||||
let(to = len(vt) - 1)
|
||||
[
|
||||
for(i = [0:to])
|
||||
vt[to - i]
|
||||
];
|
||||
function __reverse(vt) = [for(i = len(vt) - 1; i >= 0; i = i - 1) vt[i]];
|
Reference in New Issue
Block a user