Explorar o código

Updated builds.

Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
f8faba9bb4
Modificáronse 3 ficheiros con 211 adicións e 211 borrados
  1. 6 6
      build/three.js
  2. 199 199
      build/three.min.js
  3. 6 6
      build/three.module.js

+ 6 - 6
build/three.js

@@ -20302,14 +20302,14 @@
 
 			_viewport.set( x, y, width, height );
 			state.viewport( _currentViewport.copy( _viewport ).multiplyScalar( _pixelRatio ) );
-		
+
 		};
 
 		this.setScissor = function ( x, y, width, height ) {
 
 			_scissor.set( x, y, width, height );
 			state.scissor( _currentScissor.copy( _scissor ).multiplyScalar( _pixelRatio ) );
-		
+
 		};
 
 		this.setScissorTest = function ( boolean ) {
@@ -21323,10 +21323,10 @@
 						var camera2 = cameras[ j ];
 						var bounds = camera2.bounds;
 
-						var x = bounds.x * _width * _pixelRatio;
-						var y = bounds.y * _height * _pixelRatio;
-						var width = bounds.z * _width * _pixelRatio;
-						var height = bounds.w * _height * _pixelRatio;
+						var x = bounds.x * _width;
+						var y = bounds.y * _height;
+						var width = bounds.z * _width;
+						var height = bounds.w * _height;
 
 						_this.setViewport( x, y, width, height );
 						_this.setScissor( x, y, width, height );

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 199 - 199
build/three.min.js


+ 6 - 6
build/three.module.js

@@ -20296,14 +20296,14 @@ function WebGLRenderer( parameters ) {
 
 		_viewport.set( x, y, width, height );
 		state.viewport( _currentViewport.copy( _viewport ).multiplyScalar( _pixelRatio ) );
-	
+
 	};
 
 	this.setScissor = function ( x, y, width, height ) {
 
 		_scissor.set( x, y, width, height );
 		state.scissor( _currentScissor.copy( _scissor ).multiplyScalar( _pixelRatio ) );
-	
+
 	};
 
 	this.setScissorTest = function ( boolean ) {
@@ -21317,10 +21317,10 @@ function WebGLRenderer( parameters ) {
 					var camera2 = cameras[ j ];
 					var bounds = camera2.bounds;
 
-					var x = bounds.x * _width * _pixelRatio;
-					var y = bounds.y * _height * _pixelRatio;
-					var width = bounds.z * _width * _pixelRatio;
-					var height = bounds.w * _height * _pixelRatio;
+					var x = bounds.x * _width;
+					var y = bounds.y * _height;
+					var width = bounds.z * _width;
+					var height = bounds.w * _height;
 
 					_this.setViewport( x, y, width, height );
 					_this.setScissor( x, y, width, height );

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio