浏览代码

Remove projection matrix updates

Temdog007 6 年之前
父节点
当前提交
02cb0a0a67
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      examples/webgl_postprocessing_unreal_bloom_selective.html

+ 0 - 2
examples/webgl_postprocessing_unreal_bloom_selective.html

@@ -129,7 +129,6 @@
 			camera = new THREE.PerspectiveCamera( 40, window.innerWidth / window.innerHeight, 1, 200 );
 			camera = new THREE.PerspectiveCamera( 40, window.innerWidth / window.innerHeight, 1, 200 );
 			camera.position.set( 0, 0, 30 );
 			camera.position.set( 0, 0, 30 );
 			camera.lookAt( 0, 0, 0 );
 			camera.lookAt( 0, 0, 0 );
-			camera.updateProjectionMatrix();
 
 
 			scene.add( new THREE.AmbientLight( 0x404040 ) );
 			scene.add( new THREE.AmbientLight( 0x404040 ) );
 
 
@@ -260,7 +259,6 @@
 				camera.position.x = Math.cos( angle * THREE.Math.DEG2RAD ) * distance;
 				camera.position.x = Math.cos( angle * THREE.Math.DEG2RAD ) * distance;
 				camera.position.z = Math.sin( angle * THREE.Math.DEG2RAD ) * distance;
 				camera.position.z = Math.sin( angle * THREE.Math.DEG2RAD ) * distance;
 				camera.lookAt( 0, 0, 0 );
 				camera.lookAt( 0, 0, 0 );
-				camera.updateProjectionMatrix();
 
 
 			}
 			}