mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
change seed
This commit is contained in:
@@ -142,7 +142,7 @@ function visitable_dirs(r_dirs, x, y, cells, rows, columns, x_wrapping, y_wrappi
|
||||
// go maze from (x, y)
|
||||
function go_maze(x, y, cells, rows, columns, x_wrapping = false, y_wrapping = false, seed) =
|
||||
let(
|
||||
r_dirs = rand_dirs(x * rows + y, seed),
|
||||
r_dirs = rand_dirs(x + y * columns, seed),
|
||||
v_dirs = visitable_dirs(r_dirs, x, y, cells, rows, columns, x_wrapping, y_wrapping),
|
||||
nx_cells0 = set_visited(x, y, cells),
|
||||
leng_v_dirs = len(v_dirs)
|
||||
|
Reference in New Issue
Block a user