فهرست منبع

Updated builds.

Mr.doob 8 سال پیش
والد
کامیت
3051c617e9
3فایلهای تغییر یافته به همراه239 افزوده شده و 251 حذف شده
  1. 3 9
      build/three.js
  2. 233 233
      build/three.min.js
  3. 3 9
      build/three.module.js

+ 3 - 9
build/three.js

@@ -21529,12 +21529,6 @@
 			state.buffers.depth.setMask( true );
 			state.buffers.color.setMask( true );
 
-			if ( camera.isArrayCamera ) {
-
-				_this.setScissorTest( false );
-
-			}
-
 			if ( vr.enabled ) {
 
 				vr.submitFrame();
@@ -21724,9 +21718,9 @@
 							var width = bounds.z * _width;
 							var height = bounds.w * _height;
 
-							_this.setViewport( x, y, width, height );
-							_this.setScissor( x, y, width, height );
-							_this.setScissorTest( true );
+							state.viewport( _currentViewport.set( x, y, width, height ) );
+							state.scissor( _currentScissor.set( x, y, width, height ) );
+							state.setScissorTest( true );
 
 							renderObject( object, scene, camera2, geometry, material, group );
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 233 - 233
build/three.min.js


+ 3 - 9
build/three.module.js

@@ -21523,12 +21523,6 @@ function WebGLRenderer( parameters ) {
 		state.buffers.depth.setMask( true );
 		state.buffers.color.setMask( true );
 
-		if ( camera.isArrayCamera ) {
-
-			_this.setScissorTest( false );
-
-		}
-
 		if ( vr.enabled ) {
 
 			vr.submitFrame();
@@ -21718,9 +21712,9 @@ function WebGLRenderer( parameters ) {
 						var width = bounds.z * _width;
 						var height = bounds.w * _height;
 
-						_this.setViewport( x, y, width, height );
-						_this.setScissor( x, y, width, height );
-						_this.setScissorTest( true );
+						state.viewport( _currentViewport.set( x, y, width, height ) );
+						state.scissor( _currentScissor.set( x, y, width, height ) );
+						state.setScissorTest( true );
 
 						renderObject( object, scene, camera2, geometry, material, group );
 

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است