mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Added cell info to elevation profile and corrected some spelling
This commit is contained in:
parent
468e553f7c
commit
60a26a8ab5
9 changed files with 31 additions and 12 deletions
|
|
@ -56,7 +56,7 @@
|
|||
//const min = cells.c[i][d3.scan(cells.c[i], (a, b) => h[a] - h[b])]; // downhill cell
|
||||
let min = cells.c[i][d3.scan(cells.c[i], (a, b) => h[a] - h[b])]; // downhill cell
|
||||
|
||||
// allow only one river can flow thought a lake
|
||||
// allow only one river can flow through a lake
|
||||
const cf = features[cells.f[i]]; // current cell feature
|
||||
if (cf.river && cf.river !== cells.r[i]) {
|
||||
cells.fl[i] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue