mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
refactor: addLakesInDeepDepressions
This commit is contained in:
parent
b2f16c4b8f
commit
3c6da6585e
16 changed files with 250 additions and 266 deletions
10
src/types/grid.d.ts
vendored
10
src/types/grid.d.ts
vendored
|
|
@ -17,16 +17,6 @@ interface IGridCells {
|
|||
prec: Uint8Array; // precipitation in inner units
|
||||
}
|
||||
|
||||
interface IGridBase extends IGrid {
|
||||
cells: IGraphCells & Partial<IGridCells>;
|
||||
features?: TGridFeatures;
|
||||
}
|
||||
|
||||
interface IGridWithHeights extends IGrid {
|
||||
cells: IGraphCells & Partial<IGridCells> & {h: Uint8Array};
|
||||
features?: TGridFeatures;
|
||||
}
|
||||
|
||||
type TGridFeatures = [0, ...IGridFeature[]];
|
||||
|
||||
interface IGridFeature {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue