improve performance

This commit is contained in:
LabyStudio
2022-02-01 01:26:17 +01:00
parent 4d93f2aeeb
commit ac850a5101
5 changed files with 8 additions and 4 deletions
@@ -16,6 +16,7 @@ window.WorldRenderer = class {
// Create scene
this.scene = new THREE.Scene();
this.scene.matrixAutoUpdate = false;
// Create web renderer
this.canvasElement = document.createElement('canvas')