mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 09:19:59 +02:00
refactor: del default value
This commit is contained in:
@@ -128,7 +128,7 @@ function carve(dir, x, y, z, cells, layers, rows, columns) =
|
||||
/*dir 5*/ carve_down(x, y, z, cells, layers);
|
||||
|
||||
// go maze from (x, y, z)
|
||||
function go_maze(x, y, z, cells, layers, rows, columns, x_wrapping = false, y_wrapping = false, z_wrapping = false, seed) =
|
||||
function go_maze(x, y, z, cells, layers, rows, columns, x_wrapping, y_wrapping, z_wrapping, seed) =
|
||||
let(
|
||||
r_dirs = rand_dirs(x + y * columns + z * rows * columns, seed),
|
||||
nxcells0 = set_visited(x, y, z, cells),
|
||||
|
@@ -133,7 +133,7 @@ function carve(dir, x, y, cells, rows, columns) =
|
||||
/*dir 3*/ carve_bottom(x, y, cells, rows);
|
||||
|
||||
// go maze from (x, y)
|
||||
function go_maze(x, y, cells, rows, columns, x_wrapping = false, y_wrapping = false, seed) =
|
||||
function go_maze(x, y, cells, rows, columns, x_wrapping, y_wrapping, seed) =
|
||||
let(
|
||||
r_dirs = rand_dirs(x + y * columns, seed),
|
||||
nxcells0 = set_visited(x, y, cells),
|
||||
|
Reference in New Issue
Block a user