mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
redraw rivers on world config change
This commit is contained in:
parent
3be986828e
commit
5bbca40611
2 changed files with 41 additions and 24 deletions
|
|
@ -1456,6 +1456,8 @@ function toggleRivers(event) {
|
|||
|
||||
function drawRivers() {
|
||||
TIME && console.time("drawRivers");
|
||||
rivers.selectAll("*").remove();
|
||||
|
||||
const {addMeandering, getRiverPath} = Rivers;
|
||||
lineGen.curve(d3.curveCatmullRom.alpha(0.1));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue