mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
refactor: voronoi
This commit is contained in:
parent
e59b536e83
commit
00d8d28d76
16 changed files with 1912 additions and 171 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import * as d3 from "d3";
|
||||
|
||||
import {ERROR, TIME} from "config/logging";
|
||||
import {reMarkFeatures} from "modules/markup";
|
||||
import {clipPoly} from "utils/lineUtils";
|
||||
import {round} from "utils/stringUtils";
|
||||
import {Ruler} from "modules/measurers";
|
||||
|
|
@ -9,7 +8,6 @@ import {Ruler} from "modules/measurers";
|
|||
// Detect and draw the coastline
|
||||
export function drawCoastline() {
|
||||
TIME && console.time("drawCoastline");
|
||||
reMarkFeatures();
|
||||
|
||||
const {cells, vertices, features} = pack;
|
||||
const n = cells.i.length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue