提交 f8faba9b 编写于 作者: M Mr.doob

Updated builds.

上级 13bc1a39
......@@ -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 );
......
此差异已折叠。
......@@ -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 );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册