mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix added river basin selection
This commit is contained in:
parent
dbcf46f83b
commit
424980f5be
3 changed files with 10 additions and 10 deletions
|
|
@ -259,7 +259,7 @@
|
|||
};
|
||||
|
||||
// add points at 1/3 and 2/3 of a line between adjacents river cells
|
||||
const addMeandering = function (riverCells, meandering = 0.5, riverPoints = null) {
|
||||
const addMeandering = function (riverCells, riverPoints = null, meandering = 0.5) {
|
||||
const {fl, conf, h} = pack.cells;
|
||||
const meandered = [];
|
||||
const lastStep = riverCells.length - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue