mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Remove unused code.(for3DRender)
This commit is contained in:
parent
3804c6522c
commit
b583032e0d
2 changed files with 2 additions and 4 deletions
|
|
@ -157,8 +157,7 @@ async function getMapURL(type, options = {}) {
|
||||||
noWater = false,
|
noWater = false,
|
||||||
noScaleBar = false,
|
noScaleBar = false,
|
||||||
noIce = false,
|
noIce = false,
|
||||||
fullMap = false,
|
fullMap = false
|
||||||
for3DRender = false
|
|
||||||
} = options;
|
} = options;
|
||||||
|
|
||||||
if (fullMap) drawScaleBar(1);
|
if (fullMap) drawScaleBar(1);
|
||||||
|
|
|
||||||
|
|
@ -427,8 +427,7 @@ window.ThreeD = (function () {
|
||||||
const mapOptions = {
|
const mapOptions = {
|
||||||
noLabels: options.labels3d,
|
noLabels: options.labels3d,
|
||||||
noWater: options.extendedWater,
|
noWater: options.extendedWater,
|
||||||
fullMap: true,
|
fullMap: true
|
||||||
for3DRender: true
|
|
||||||
};
|
};
|
||||||
const url = await getMapURL("mesh",mapOptions);
|
const url = await getMapURL("mesh",mapOptions);
|
||||||
const canvas = document.createElement("canvas");
|
const canvas = document.createElement("canvas");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue