From 7c14a6339e7e6c52f92767eca81ac6de41a08286 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 2 Sep 2019 08:25:26 +0800 Subject: [PATCH] all UPPER_RIGHT_WALL --- examples/square_maze.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/square_maze.scad b/examples/square_maze.scad index a95837d1..29be020c 100644 --- a/examples/square_maze.scad +++ b/examples/square_maze.scad @@ -14,8 +14,8 @@ function starting_maze(rows, columns) = [ for(x = [1:columns]) block_data( x, y, - // all blocks have upper and right walls except the exit - y == rows && x == columns ? UPPER_WALL : UPPER_RIGHT_WALL, + // all blocks have upper and right walls + UPPER_RIGHT_WALL, // unvisited false )