1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 13:01:37 +02:00

update doc

This commit is contained in:
Justin Lin
2021-03-07 20:20:48 +08:00
parent a55aaff0a9
commit 1502fa4b64

View File

@@ -1,6 +1,6 @@
# mz_square_cells
This function returns cell data of a square-based maze. The data is a list of cells. A cell has the data structure `[x, y, type, visited]`. `x` and `y` are 0-based. `x` means 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, visited]`. `x` and `y` are 0-based. `x` means 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;
TOP_WALL = 1;