mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.3.03a
This commit is contained in:
parent
cba011282d
commit
c8f758ab3c
15 changed files with 397 additions and 135 deletions
|
|
@ -153,6 +153,7 @@
|
|||
});
|
||||
|
||||
function createRegiments(nodes, s) {
|
||||
if (!nodes.length) return [];
|
||||
nodes.sort((a,b) => a.a - b.a);
|
||||
const tree = d3.quadtree(nodes, d => d.x, d => d.y);
|
||||
nodes.forEach(n => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue