Преглед изворни кода

Merge pull request #15862 from takahirox/FixStaticPerformanceExample

Skip unnecessary matrices update in performance_static example
Mr.doob пре 6 година
родитељ
комит
d736480799
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      examples/webgl_performance_static.html

+ 1 - 0
examples/webgl_performance_static.html

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