mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 08:16:50 +02:00
order by y, order by x
This commit is contained in:
@@ -9,8 +9,8 @@ function px_polygon(points, filled = true) =
|
||||
min_y = min(ys)
|
||||
)
|
||||
[
|
||||
for(x = min_x; x <= max_x; x = x + 1)
|
||||
for(y = min_y; y <= max_y; y = y + 1)
|
||||
for(x = min_x; x <= max_x; x = x + 1)
|
||||
let(pt = [x, y])
|
||||
if(in_shape(points, pt, true)) pt
|
||||
]
|
||||
|
Reference in New Issue
Block a user