mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-21 19:41:23 +01:00
bugfix
This commit is contained in:
parent
9cd63b6fec
commit
5e0c09ee26
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ function getRoadPoints(node) {
|
|||
return points;
|
||||
}
|
||||
|
||||
function getPathPoints(node, increment) {
|
||||
function getRiverPoints(node) {
|
||||
let points = [];
|
||||
const l = node.getTotalLength() / 2; // half-length
|
||||
const increment = 0.25; // defines density of points
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue