1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 01:34:12 +02:00

fix magic seed

This commit is contained in:
Justin Lin
2021-02-04 17:16:34 +08:00
parent d23de89739
commit a0b160547b

View File

@@ -10,7 +10,7 @@ module 2_edge_wang_tiles(rows, columns, tile_width, mask, seed) {
for(y = [0:rows])
[
for(x = [0:columns])
let(rs = rands(0, 1, 2, 10 + y * columns + x))
let(rs = rands(0, 1, 2, seed + y * columns + x))
[round(rs[0]), round(rs[1])]
]
];