mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-21 22:05:27 +02:00
align to origin
This commit is contained in:
@@ -7,6 +7,8 @@ module 2_edge_wang_tiles(rows, columns, tile_width) {
|
|||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
half_w = tile_width / 2;
|
||||||
|
translate([half_w, half_w])
|
||||||
for(y = [0:rows - 1]) {
|
for(y = [0:rows - 1]) {
|
||||||
for(x = [0:columns - 1]) {
|
for(x = [0:columns - 1]) {
|
||||||
i = (edges[y + 1][x][0] == 1 ? 1 : 0) +
|
i = (edges[y + 1][x][0] == 1 ? 1 : 0) +
|
||||||
|
Reference in New Issue
Block a user