refactor(es modules): heightmap config

This commit is contained in:
Azgaar 2022-06-30 00:29:08 +03:00
parent 2e4d142cf7
commit f9f60176d9
9 changed files with 183 additions and 173 deletions

View file

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