From e99c0b3172eb632a14c99588fadd8138093ae6be Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 16 Feb 2020 14:07:07 +0800 Subject: [PATCH] refactor --- examples/maze/twisted_maze.scad | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/maze/twisted_maze.scad b/examples/maze/twisted_maze.scad index 2149e704..a2c0a5d5 100644 --- a/examples/maze/twisted_maze.scad +++ b/examples/maze/twisted_maze.scad @@ -1,6 +1,8 @@ use ; use ; use ; +use ; +use ; use ; rows = 16; @@ -10,12 +12,12 @@ wall_thickness = 1; angle = 180; // $fn = 24; -blocks = go_maze( - 1, 1, // starting point - starting_maze(rows, columns), +blocks = mz_blocks( + [1, 1], rows, columns ); -walls = maze_walls(blocks, rows, columns, block_width); + +walls = mz_walls(blocks, rows, columns, block_width); size = [columns * block_width, rows * block_width]; for(wall_pts = walls) {