Explorar o código

Set scene.matrixAutoUpdate = false in performance_static example

Takahiro %!s(int64=6) %!d(string=hai) anos
pai
achega
253f84e001
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();