mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
refactor(es modules): migrate a few more functions
This commit is contained in:
parent
14a8a31366
commit
63e9b9c87e
6 changed files with 13 additions and 10 deletions
|
|
@ -7,7 +7,7 @@ import {round} from "/src/utils/stringUtils";
|
|||
window.OceanLayers = (function () {
|
||||
let cells, vertices, pointsN, used;
|
||||
|
||||
const OceanLayers = function OceanLayers() {
|
||||
function OceanLayers() {
|
||||
const outline = oceanLayers.attr("layers");
|
||||
if (outline === "none") return;
|
||||
TIME && console.time("drawOceanLayers");
|
||||
|
|
@ -52,7 +52,7 @@ window.OceanLayers = (function () {
|
|||
}
|
||||
|
||||
TIME && console.timeEnd("drawOceanLayers");
|
||||
};
|
||||
}
|
||||
|
||||
function randomizeOutline() {
|
||||
const limits = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue