This commit is contained in:
Tom Vogt 2019-09-07 10:56:41 +02:00
parent 9cd63b6fec
commit 5e0c09ee26

View file

@ -80,7 +80,7 @@ function getRoadPoints(node) {
return points; return points;
} }
function getPathPoints(node, increment) { function getRiverPoints(node) {
let points = []; let points = [];
const l = node.getTotalLength() / 2; // half-length const l = node.getTotalLength() / 2; // half-length
const increment = 0.25; // defines density of points const increment = 0.25; // defines density of points