mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
feat(charts): add quantization types
This commit is contained in:
parent
14fc0dcfeb
commit
acd9531bb8
1 changed files with 4 additions and 0 deletions
|
|
@ -335,6 +335,10 @@ function getPrecipitation(prec) {
|
||||||
return prec * 100 + " mm";
|
return prec * 100 + " mm";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getPrecipitation(prec) {
|
||||||
|
return prec * 100 + " mm";
|
||||||
|
}
|
||||||
|
|
||||||
// get user-friendly (real-world) precipitation value from map data
|
// get user-friendly (real-world) precipitation value from map data
|
||||||
function getFriendlyPrecipitation(i) {
|
function getFriendlyPrecipitation(i) {
|
||||||
const prec = grid.cells.prec[pack.cells.g[i]];
|
const prec = grid.cells.prec[pack.cells.g[i]];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue