1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 03:50:27 +02:00

change order

This commit is contained in:
Justin Lin
2019-06-29 17:01:36 +08:00
parent cfa0d211ed
commit cda26241dd

View File

@@ -1,9 +1,9 @@
function px_sphere(radius, filled = true) =
let(range = [-radius: radius - 1])
filled ? [
for(x = range)
for(z = range)
for(y = range)
for(z = range)
for(x = range)
let(v = [x, y, z])
if(norm(v) < radius) v
] :