mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Fix submap: Wrong typedarray usage for precipitation (#778)
* Redraw emblems after resample. * Remove aspect change feature on submaps to support more useful crop operation. * Fix wrong type for prec typedArray Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
This commit is contained in:
parent
73434f5bb7
commit
b00a8a2228
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ window.Submap = (function () {
|
|||
const n = grid.points.length;
|
||||
grid.cells.h = new Uint8Array(n); // heightmap
|
||||
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 oldGrid = parentMap.grid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue