From c4372b13c8d2f06c6a5797ec0bbd2c14a738d84a Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 1 Sep 2019 20:03:51 +0800 Subject: [PATCH] rename --- examples/stereographic_hex_maze.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/stereographic_hex_maze.scad b/examples/stereographic_hex_maze.scad index ec8e613d..ba476762 100644 --- a/examples/stereographic_hex_maze.scad +++ b/examples/stereographic_hex_maze.scad @@ -135,12 +135,12 @@ module hex_maze(y_cells, x_cells, maze_vector, cell_radius, wall_thickness) { cord = maze_vector[i]; x = (cord[0] - 1) ; y = (cord[1] - 1); - v = cord[2]; + wall_type = cord[2]; - if(v == 1 || v == 3) { + if(wall_type == 1 || wall_type == 3) { cell(x, y, "upper"); } - if(v == 2 || v == 3) { + if(wall_type == 2 || wall_type == 3) { cell(x, y, "right"); }