mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
Updated Object Model (markdown)
parent
03d561bde4
commit
22e84f15dc
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ Both `grid` and `pack` objects include data representing voronoi diagrams and th
|
||||||
|
|
||||||
### Grid object
|
### Grid object
|
||||||
|
|
||||||
* `grid.spacing`: `number` - spacing between points before jirrering
|
* `grid.spacing`: `number` - spacing between points before jittering
|
||||||
* `grid.cellsY`: `number` - number of cells in column
|
* `grid.cellsY`: `number` - number of cells in column
|
||||||
* `grid.cellsX`: `number` - number of cells in row
|
* `grid.cellsX`: `number` - number of cells in row
|
||||||
* `grid.points`: `number[][]` - initial coordinates `[x, y]` based on jittered square grid. Numbers rounded to 2 decimals
|
* `grid.points`: `number[][]` - initial coordinates `[x, y]` based on jittered square grid. Numbers rounded to 2 decimals
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue