From 0b115df546033ad501727116d53d1e2e7b6f7f5a Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 27 Aug 2020 08:10:41 +0800 Subject: [PATCH] modified seed calculation --- src/experimental/_impl/_mz_blocks_impl.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/_impl/_mz_blocks_impl.scad b/src/experimental/_impl/_mz_blocks_impl.scad index e7cdc005..1d0dbbea 100644 --- a/src/experimental/_impl/_mz_blocks_impl.scad +++ b/src/experimental/_impl/_mz_blocks_impl.scad @@ -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,