chore: modularize main.js

This commit is contained in:
Azgaar 2022-07-03 15:45:51 +03:00
parent 51df2f90b0
commit e739698346
24 changed files with 1775 additions and 1706 deletions

View file

@ -1,5 +1,6 @@
import {getGridPolygon} from "utils/graphUtils";
import {aleaPRNG} from "scripts/aleaPRNG";
import {clipPoly} from "utils/lineUtils";
export function drawIce() {
const {cells, vertices} = grid;