Explorar el Código

Set scene.matrixAutoUpdate = false in performance_static example

Takahiro hace 6 años
padre
commit
253f84e001
Se han modificado 1 ficheros con 1 adiciones y 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();