Sfoglia il codice sorgente

Merge pull request #15862 from takahirox/FixStaticPerformanceExample

Skip unnecessary matrices update in performance_static example
Mr.doob 6 anni fa
parent
commit
d736480799
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      examples/webgl_performance_static.html

+ 1 - 0
examples/webgl_performance_static.html

@@ -46,6 +46,7 @@
 
 				scene = new THREE.Scene();
 				scene.background = new THREE.Color( 0xffffff );
+				scene.matrixAutoUpdate = false;
 
 				var material = new THREE.MeshNormalMaterial();