Skip to content

Commit

Permalink
Updated builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 18, 2017
1 parent 696008b commit c234176
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
16 changes: 13 additions & 3 deletions build/three.js
Original file line number Diff line number Diff line change
Expand Up @@ -3651,9 +3651,19 @@

if ( x.lengthSq() === 0 ) {

// eye and target are in the same vertical
// up and z are parallel

z.z += 0.0001;
if ( Math.abs( up.z ) === 1 ) {

z.x += 0.0001;

} else {

z.z += 0.0001;

}

z.normalize();
x.crossVectors( up, z );

}
Expand Down Expand Up @@ -18304,7 +18314,7 @@
// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)
if ( texture.type !== UnsignedInt248Type ) {

console.warn( 'THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.' );
console.warn( 'THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.' );

texture.type = UnsignedInt248Type;
glType = paramThreeToGL( texture.type );
Expand Down
12 changes: 6 additions & 6 deletions build/three.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions build/three.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3645,9 +3645,19 @@ Object.assign( Matrix4.prototype, {

if ( x.lengthSq() === 0 ) {

// eye and target are in the same vertical
// up and z are parallel

z.z += 0.0001;
if ( Math.abs( up.z ) === 1 ) {

z.x += 0.0001;

} else {

z.z += 0.0001;

}

z.normalize();
x.crossVectors( up, z );

}
Expand Down Expand Up @@ -18298,7 +18308,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)
if ( texture.type !== UnsignedInt248Type ) {

console.warn( 'THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.' );
console.warn( 'THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.' );

texture.type = UnsignedInt248Type;
glType = paramThreeToGL( texture.type );
Expand Down

0 comments on commit c234176

Please sign in to comment.