mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
refactor: generation script
This commit is contained in:
parent
c0f6ce00ef
commit
87d8c1024d
31 changed files with 364 additions and 324 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue