From d5607173be4be2649fe4a3845f414a908f198e35 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Thu, 11 Jul 2019 02:38:39 +0200 Subject: [PATCH] Updated builds. --- build/three.js | 22 +++++++++++----------- build/three.min.js | 2 +- build/three.module.js | 22 +++++++++++----------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/build/three.js b/build/three.js index 17487ed40f..62db798a47 100644 --- a/build/three.js +++ b/build/three.js @@ -2792,7 +2792,7 @@ this.wrapT = wrapT !== undefined ? wrapT : ClampToEdgeWrapping; this.magFilter = magFilter !== undefined ? magFilter : LinearFilter; - this.minFilter = minFilter !== undefined ? minFilter : LinearMipMapLinearFilter; + this.minFilter = minFilter !== undefined ? minFilter : LinearMipmapLinearFilter; this.anisotropy = anisotropy !== undefined ? anisotropy : 1; @@ -21024,7 +21024,7 @@ function filterFallback( f ) { - if ( f === NearestFilter || f === NearestMipMapNearestFilter || f === NearestMipMapLinearFilter ) { + if ( f === NearestFilter || f === NearestMipmapNearestFilter || f === NearestMipmapLinearFilter ) { return 9728; @@ -22050,12 +22050,12 @@ if ( p === MirroredRepeatWrapping ) return 33648; if ( p === NearestFilter ) return 9728; - if ( p === NearestMipMapNearestFilter ) return 9984; - if ( p === NearestMipMapLinearFilter ) return 9986; + if ( p === NearestMipmapNearestFilter ) return 9984; + if ( p === NearestMipmapLinearFilter ) return 9986; if ( p === LinearFilter ) return 9729; - if ( p === LinearMipMapNearestFilter ) return 9985; - if ( p === LinearMipMapLinearFilter ) return 9987; + if ( p === LinearMipmapNearestFilter ) return 9985; + if ( p === LinearMipmapLinearFilter ) return 9987; if ( p === UnsignedByteType ) return 5121; if ( p === UnsignedShort4444Type ) return 32819; @@ -35234,7 +35234,7 @@ texture.wrapT = texData.wrapT !== undefined ? texData.wrapT : ClampToEdgeWrapping; texture.magFilter = texData.magFilter !== undefined ? texData.magFilter : LinearFilter; - texture.minFilter = texData.minFilter !== undefined ? texData.minFilter : LinearMipMapLinearFilter; + texture.minFilter = texData.minFilter !== undefined ? texData.minFilter : LinearMipmapLinearFilter; texture.anisotropy = texData.anisotropy !== undefined ? texData.anisotropy : 1; @@ -39582,11 +39582,11 @@ var TEXTURE_FILTER = { NearestFilter: NearestFilter, - NearestMipMapNearestFilter: NearestMipMapNearestFilter, - NearestMipMapLinearFilter: NearestMipMapLinearFilter, + NearestMipmapNearestFilter: NearestMipmapNearestFilter, + NearestMipmapLinearFilter: NearestMipmapLinearFilter, LinearFilter: LinearFilter, - LinearMipMapNearestFilter: LinearMipMapNearestFilter, - LinearMipMapLinearFilter: LinearMipMapLinearFilter + LinearMipmapNearestFilter: LinearMipmapNearestFilter, + LinearMipmapLinearFilter: LinearMipmapLinearFilter }; /** diff --git a/build/three.min.js b/build/three.min.js index 0b4ce8adde..c8026ad9d5 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -802,7 +802,7 @@ case "Mesh":f=d(a.geometry);var g=e(a.material);f=f.bones&&0Number.EPSILON){if(0>l&&(g=b[f],k=-k,h=b[e],l=-l),!(a.yh.y))if(a.y===g.y){if(a.x===g.x)return!0}else{e=l*(a.x-g.x)-k*(a.y-g.y);if(0===e)return!0;0>e||(d=!d)}}else if(a.y===g.y&&(h.x<=a.x&&a.x<=g.x||g.x<=a.x&&a.x<=h.x))return!0}return d}var e=db.isClockWise,f=this.subPaths;if(0===f.length)return[];if(!0===b)return c(f);b=[];if(1===f.length){var g=f[0];var h=new rb;h.curves=g.curves; diff --git a/build/three.module.js b/build/three.module.js index 5f8f8d3fa1..4073f67e9d 100644 --- a/build/three.module.js +++ b/build/three.module.js @@ -2786,7 +2786,7 @@ function Texture( image, mapping, wrapS, wrapT, magFilter, minFilter, format, ty this.wrapT = wrapT !== undefined ? wrapT : ClampToEdgeWrapping; this.magFilter = magFilter !== undefined ? magFilter : LinearFilter; - this.minFilter = minFilter !== undefined ? minFilter : LinearMipMapLinearFilter; + this.minFilter = minFilter !== undefined ? minFilter : LinearMipmapLinearFilter; this.anisotropy = anisotropy !== undefined ? anisotropy : 1; @@ -21018,7 +21018,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils, function filterFallback( f ) { - if ( f === NearestFilter || f === NearestMipMapNearestFilter || f === NearestMipMapLinearFilter ) { + if ( f === NearestFilter || f === NearestMipmapNearestFilter || f === NearestMipmapLinearFilter ) { return 9728; @@ -22044,12 +22044,12 @@ function WebGLUtils( gl, extensions, capabilities ) { if ( p === MirroredRepeatWrapping ) return 33648; if ( p === NearestFilter ) return 9728; - if ( p === NearestMipMapNearestFilter ) return 9984; - if ( p === NearestMipMapLinearFilter ) return 9986; + if ( p === NearestMipmapNearestFilter ) return 9984; + if ( p === NearestMipmapLinearFilter ) return 9986; if ( p === LinearFilter ) return 9729; - if ( p === LinearMipMapNearestFilter ) return 9985; - if ( p === LinearMipMapLinearFilter ) return 9987; + if ( p === LinearMipmapNearestFilter ) return 9985; + if ( p === LinearMipmapLinearFilter ) return 9987; if ( p === UnsignedByteType ) return 5121; if ( p === UnsignedShort4444Type ) return 32819; @@ -35228,7 +35228,7 @@ Object.assign( DataTextureLoader.prototype, { texture.wrapT = texData.wrapT !== undefined ? texData.wrapT : ClampToEdgeWrapping; texture.magFilter = texData.magFilter !== undefined ? texData.magFilter : LinearFilter; - texture.minFilter = texData.minFilter !== undefined ? texData.minFilter : LinearMipMapLinearFilter; + texture.minFilter = texData.minFilter !== undefined ? texData.minFilter : LinearMipmapLinearFilter; texture.anisotropy = texData.anisotropy !== undefined ? texData.anisotropy : 1; @@ -39576,11 +39576,11 @@ var TEXTURE_WRAPPING = { var TEXTURE_FILTER = { NearestFilter: NearestFilter, - NearestMipMapNearestFilter: NearestMipMapNearestFilter, - NearestMipMapLinearFilter: NearestMipMapLinearFilter, + NearestMipmapNearestFilter: NearestMipmapNearestFilter, + NearestMipmapLinearFilter: NearestMipmapLinearFilter, LinearFilter: LinearFilter, - LinearMipMapNearestFilter: LinearMipMapNearestFilter, - LinearMipMapLinearFilter: LinearMipMapLinearFilter + LinearMipmapNearestFilter: LinearMipmapNearestFilter, + LinearMipmapLinearFilter: LinearMipmapLinearFilter }; /** -- GitLab