From fd51f696ffee350f1884b24ef00d4b1a2ae20341 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 27 May 2021 09:18:31 +0800 Subject: [PATCH] rename var --- examples/maze/spiral_maze.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/maze/spiral_maze.scad b/examples/maze/spiral_maze.scad index f5b9114e..f8e7e4a0 100644 --- a/examples/maze/spiral_maze.scad +++ b/examples/maze/spiral_maze.scad @@ -35,9 +35,9 @@ module spiral_maze() { let( x = p[0], y = p[1], - p = (pts3d[x] + pts3d[x + 1]) / 2 + cp = (pts3d[x] + pts3d[x + 1]) / 2 ) - p + [0, y, 0] + cp + [0, y, 0] ], wall_thickness, $fn = 5