refactor(es modules): remove gloval var lineGen

This commit is contained in:
Azgaar 2022-06-27 01:47:31 +03:00
parent 32d7db765d
commit aa214a7826
17 changed files with 27 additions and 22 deletions

View file

@ -1,8 +1,10 @@
import {ERROR} from "../config/logging";
import {lim, minmax} from "../utils/numberUtils";
import {TIME} from "/src/config/logging";
import {createTypedArray} from "/src/utils/arrayUtils";
import {findGridCell} from "/src/utils/graphUtils";
import {getNumberInRange, P, rand} from "/src/utils/probabilityUtils";
import {byId} from "/src/utils/shorthands";
import {rand, P, getNumberInRange} from "/src/utils/probabilityUtils";
window.HeightmapGenerator = (function () {
let grid = null;