refactor(es modules): modulize utils

This commit is contained in:
Azgaar 2022-06-26 20:44:29 +03:00
parent 12e1c9f334
commit 7ccebec048
54 changed files with 168 additions and 134 deletions

View file

@ -2,6 +2,7 @@ import {TIME} from "/src/config/logging";
import {createTypedArray} from "/src/utils/arrayUtils";
import {findGridCell} from "/src/utils/graphUtils";
import {byId} from "/src/utils/shorthands";
import {rand, P, getNumberInRange} from "@/utils/probabilityUtils";
window.HeightmapGenerator = (function () {
let grid = null;