mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 20:41:23 +01:00
Fix wrong type for prec typedArray
This commit is contained in:
parent
0487cc167a
commit
20b31d9eea
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ window.Submap = (function () {
|
||||||
const n = grid.points.length;
|
const n = grid.points.length;
|
||||||
grid.cells.h = new Uint8Array(n); // heightmap
|
grid.cells.h = new Uint8Array(n); // heightmap
|
||||||
grid.cells.temp = new Int8Array(n); // temperature
|
grid.cells.temp = new Int8Array(n); // temperature
|
||||||
grid.cells.prec = new Int8Array(n); // precipitation
|
grid.cells.prec = new Uint8Array(n); // precipitation
|
||||||
const reverseGridMap = new Uint32Array(n); // cellmap from new -> oldcell
|
const reverseGridMap = new Uint32Array(n); // cellmap from new -> oldcell
|
||||||
|
|
||||||
const oldGrid = parentMap.grid;
|
const oldGrid = parentMap.grid;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue