1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 03:50:27 +02:00

update doc

This commit is contained in:
Justin Lin
2021-03-07 21:32:05 +08:00
parent d7e76d91f1
commit 731c87610d

View File

@@ -1,6 +1,6 @@
# mz_square_cells # mz_square_cells
This function returns cell data of a square maze. The data is a list of cells. A cell has the data structure `[x, y, type]`. `x` and `y` are 0-based. `x` means the x-th column and `y` means y-th row for a cell. The value of `type` can be `0`, `1`, ``2`, `3` or `4`. Setting them to constants is convenient. This function returns cell data of a square maze. The data is a list of cells. A cell has the data structure `[x, y, type]`. `x` and `y` are 0-based. `x` means the x-th column and `y` means y-th row for a cell. The value of `type` can be `0`, `1`, `2`, `3` or `4`. Setting them to constants is convenient.
NO_WALL = 0; // the cell has no wall NO_WALL = 0; // the cell has no wall
TOP_WALL = 1; // the cell has a top wall TOP_WALL = 1; // the cell has a top wall