mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-07-31 03:50:27 +02:00
change order
This commit is contained in:
@@ -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
|
||||
] :
|
||||
|
Reference in New Issue
Block a user