Browse Source

Remove projection matrix updates

Temdog007 6 năm trước cách đây
mục cha
commit
02cb0a0a67
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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();
 
 			}