mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Clean up of unrequired code.
This commit is contained in:
parent
a4dd8490eb
commit
d56fc46366
4 changed files with 0 additions and 18 deletions
|
|
@ -116,7 +116,6 @@ window.ThreeD = (function () {
|
|||
|
||||
const setResolutionScale = function (scale) {
|
||||
options.resolutionScale = scale;
|
||||
console.log("New res:",scale);
|
||||
redraw();
|
||||
};
|
||||
|
||||
|
|
@ -169,7 +168,6 @@ window.ThreeD = (function () {
|
|||
};
|
||||
|
||||
const toggle3dSubdivision = function(){
|
||||
console.log("toggle 3d subdivision");
|
||||
options.subdivide = !options.subdivide;
|
||||
redraw();
|
||||
}
|
||||
|
|
@ -505,8 +503,6 @@ window.ThreeD = (function () {
|
|||
}
|
||||
geometry.setAttribute('position',vertices);
|
||||
geometry.computeVertexNormals();
|
||||
|
||||
//This takes too long
|
||||
if (mesh) scene.remove(mesh);
|
||||
if(options.subdivide){
|
||||
const subdivideParams = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue