소스 검색

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.position.set( 0, 0, 30 );
 			camera.lookAt( 0, 0, 0 );
-			camera.updateProjectionMatrix();
 
 			scene.add( new THREE.AmbientLight( 0x404040 ) );
 
@@ -260,7 +259,6 @@
 				camera.position.x = Math.cos( angle * THREE.Math.DEG2RAD ) * distance;
 				camera.position.z = Math.sin( angle * THREE.Math.DEG2RAD ) * distance;
 				camera.lookAt( 0, 0, 0 );
-				camera.updateProjectionMatrix();
 
 			}