refactor: generation script

This commit is contained in:
Azgaar 2022-07-13 01:53:06 +03:00
parent c0f6ce00ef
commit 87d8c1024d
31 changed files with 364 additions and 324 deletions

View file

@ -6,7 +6,7 @@ import {round} from "utils/stringUtils";
import {Ruler} from "modules/measurers";
// Detect and draw the coastline
export function drawCoastline() {
export function drawCoastline(pack) {
TIME && console.time("drawCoastline");
const {cells, vertices, features} = pack;