mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
sorted=true
This commit is contained in:
@@ -34,13 +34,13 @@ module maze_masking(start, mask, block_width, wall_thickness, wall_height, base_
|
||||
rows, columns,
|
||||
mz_initialize(mask = mask)
|
||||
);
|
||||
|
||||
|
||||
pts = contour ? vx_contour([
|
||||
for(y = [0:rows - 1])
|
||||
for(x = [0:columns - 1])
|
||||
if(mask[y][x] == 1)
|
||||
[x, rows - y - 1]
|
||||
]) : [];
|
||||
if(mask[rows - y - 1][x] == 1)
|
||||
[x, y]
|
||||
], sorted = true) : [];
|
||||
|
||||
walls = mz_square_walls(blocks, rows, columns, block_width);
|
||||
|
||||
|
Reference in New Issue
Block a user