mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
refactor: detect feature vertex
This commit is contained in:
parent
f82fcbae0f
commit
3410c48c58
5 changed files with 105 additions and 18 deletions
2
src/types/pack.d.ts
vendored
2
src/types/pack.d.ts
vendored
|
|
@ -42,7 +42,7 @@ interface IPackFeatureBase {
|
|||
border: boolean; // if touches map border
|
||||
cells: number; // number of cells
|
||||
firstCell: number; // index of the top left cell
|
||||
vertices?: number[]; // indexes of perimetric vertices
|
||||
vertices: number[]; // indexes of perimetric vertices
|
||||
}
|
||||
|
||||
interface IPackFeatureOcean extends IPackFeatureBase {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue