mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +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,
|
||||
noScaleBar = false,
|
||||
noIce = false,
|
||||
fullMap = false,
|
||||
for3DRender = false
|
||||
fullMap = false
|
||||
} = options;
|
||||
|
||||
if (fullMap) drawScaleBar(1);
|
||||
|
|
|
|||
|
|
@ -427,8 +427,7 @@ window.ThreeD = (function () {
|
|||
const mapOptions = {
|
||||
noLabels: options.labels3d,
|
||||
noWater: options.extendedWater,
|
||||
fullMap: true,
|
||||
for3DRender: true
|
||||
fullMap: true
|
||||
};
|
||||
const url = await getMapURL("mesh",mapOptions);
|
||||
const canvas = document.createElement("canvas");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue