mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
markers rework - editor start, dragging
This commit is contained in:
parent
1023bb0676
commit
def32b7f74
6 changed files with 116 additions and 194 deletions
|
|
@ -815,6 +815,7 @@ function parseLoadedData(data) {
|
|||
const riverPoints = [];
|
||||
|
||||
const length = node.getTotalLength() / 2;
|
||||
if (!length) continue;
|
||||
const segments = Math.ceil(length / 6);
|
||||
const increment = length / segments;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue