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

modified seed calculation

This commit is contained in:
Justin Lin
2020-08-27 08:10:41 +08:00
parent f25663c092
commit 0b115df546

View File

@@ -159,7 +159,7 @@ function go_maze(x, y, maze, rows, columns, x_circular = false, y_circular = fal
set_visited(x, y, maze) // road closed
: walk_around_from(
x, y,
rand_dirs(x + y + seed),
rand_dirs(x * rows + y + seed),
set_visited(x, y, maze),
rows, columns,
x_circular, y_circular,