Skip to content

Commit 16262c1

Browse files
committed
Updated builds.
1 parent d3501d9 commit 16262c1

File tree

2 files changed

+146
-137
lines changed

2 files changed

+146
-137
lines changed

build/three.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25156,7 +25156,7 @@ THREE.WebGLRenderer = function ( parameters ) {
2515625156

2515725157
// shadow map
2515825158

25159-
var shadowMap = new THREE.WebGLShadowMap( this, _lights, objects );
25159+
var shadowMap = new THREE.WebGLShadowMap( this, _lights, objects, capabilities );
2516025160

2516125161
this.shadowMap = shadowMap;
2516225162

@@ -29644,7 +29644,7 @@ THREE.WebGLShader = ( function () {
2964429644
* @author mrdoob / http://mrdoob.com/
2964529645
*/
2964629646

29647-
THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
29647+
THREE.WebGLShadowMap = function ( _renderer, _lights, _objects, capabilities ) {
2964829648

2964929649
var _gl = _renderer.context,
2965029650
_state = _renderer.state,
@@ -29767,6 +29767,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
2976729767
var shadowCamera = shadow.camera;
2976829768

2976929769
_shadowMapSize.copy( shadow.mapSize );
29770+
_shadowMapSize.min( capabilities.maxTextureSize, capabilities.maxTextureSize );
2977029771

2977129772
if ( light instanceof THREE.PointLight ) {
2977229773

@@ -36127,9 +36128,17 @@ THREE.EllipseCurve.prototype.getPoint = function( t ) {
3612736128

3612836129
}
3612936130

36130-
if ( this.aClockwise === true && deltaAngle != twoPi && ! samePoints ) {
36131+
if ( this.aClockwise === true && ! samePoints ) {
3613136132

36132-
deltaAngle = deltaAngle - twoPi;
36133+
if ( deltaAngle === twoPi ) {
36134+
36135+
deltaAngle = - twoPi;
36136+
36137+
} else {
36138+
36139+
deltaAngle = deltaAngle - twoPi;
36140+
36141+
}
3613336142

3613436143
}
3613536144

0 commit comments

Comments
 (0)