mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
refactor(es modules): remove gloval var lineGen
This commit is contained in:
parent
32d7db765d
commit
aa214a7826
17 changed files with 27 additions and 22 deletions
|
|
@ -6,8 +6,6 @@ import {byId} from "./shorthands";
|
|||
import {Voronoi} from "/src/modules/voronoi";
|
||||
|
||||
const Delaunator = window.Delaunator;
|
||||
const graphWidth = window.graphWidth;
|
||||
const graphHeight = window.graphHeight;
|
||||
|
||||
// check if new grid graph should be generated or we can use the existing one
|
||||
export function shouldRegenerateGrid(grid) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue