refactor(es modules): continue migration

This commit is contained in:
Azgaar 2022-06-25 17:22:30 +03:00
parent bc65e0e207
commit 97f2b213c4
42 changed files with 252 additions and 222 deletions

View file

@ -1,8 +1,4 @@
"use strict";
/*
Cell resampler module used by submapper and resampler (transform)
main function: resample(options);
*/
import {findCell} from "/src/utils/graphUtils";
window.Submap = (function () {
const isWater = (pack, id) => pack.cells.h[id] < 20;