Added cell info to elevation profile and corrected some spelling

This commit is contained in:
Evolvedexperiment 2020-06-26 19:08:54 +00:00 committed by Azgaar
parent 468e553f7c
commit 60a26a8ab5
9 changed files with 31 additions and 12 deletions

View file

@ -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;