diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 875a61274da51f30c26de6a8301004abc12d070a..c94314cb983cc6d3027bb8e5d809c027b47481f7 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -17,7 +17,7 @@ Please also include a live example if possible. You can start from these templat ##### Three.js version - [ ] Dev -- [ ] r110 +- [ ] r111 - [ ] ... ##### Browser diff --git a/build/three.js b/build/three.js index caf92925dd78ab51b8fea3917f4de06faa54821f..40ce5dcf4cb965abba0d61dfa36489d24be94ca4 100644 --- a/build/three.js +++ b/build/three.js @@ -2,7 +2,7 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.THREE = {})); -}(this, function (exports) { 'use strict'; +}(this, (function (exports) { 'use strict'; // Polyfills @@ -97,7 +97,7 @@ } - var REVISION = '111dev'; + var REVISION = '111'; var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }; var TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }; var CullFaceNone = 0; @@ -50211,4 +50211,4 @@ Object.defineProperty(exports, '__esModule', { value: true }); -})); +}))); diff --git a/build/three.min.js b/build/three.min.js index ee5a156c8865e06ee3610a617adcab2de2cf068e..e6cdc2da732db27cd4ab5e795968da91fe388a44 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -993,7 +993,7 @@ this.texture.format=a}},type:{get:function(){console.warn("THREE.WebGLRenderTarg this.texture.generateMipmaps=a}}});Object.defineProperties(og.prototype,{standing:{set:function(){console.warn("THREE.WebVRManager: .standing has been removed.")}},userHeight:{set:function(){console.warn("THREE.WebVRManager: .userHeight has been removed.")}}});Object.defineProperties(bd.prototype,{load:{value:function(a){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");var b=this;(new uf).load(a,function(a){b.setBuffer(a)});return this}},startTime:{set:function(){console.warn("THREE.Audio: .startTime is now .play( delay ).")}}}); Lg.prototype.getData=function(){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()};Ac.prototype.updateCubeMap=function(a,b){console.warn("THREE.CubeCamera: .updateCubeMap() is now .update().");return this.update(a,b)};Jb.crossOrigin=void 0;Jb.loadTexture=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var e=new ff;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d); b&&(a.mapping=b);return a};Jb.loadTextureCube=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");var e=new ef;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Jb.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")};Jb.loadCompressedTextureCube=function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")}; -"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"111dev"}}));k.ACESFilmicToneMapping=5;k.AddEquation=100;k.AddOperation=2;k.AdditiveBlending=2;k.AlphaFormat=1021;k.AlwaysDepth=1;k.AlwaysStencilFunc=519;k.AmbientLight=nf;k.AmbientLightProbe=Gg;k.AnimationClip=Oa;k.AnimationLoader=xg;k.AnimationMixer=Ng;k.AnimationObjectGroup=gi;k.AnimationUtils=sa;k.ArcCurve=ad;k.ArrayCamera=Kd;k.ArrowHelper=ub;k.Audio=bd;k.AudioAnalyser=Lg;k.AudioContext= +"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"111"}}));k.ACESFilmicToneMapping=5;k.AddEquation=100;k.AddOperation=2;k.AdditiveBlending=2;k.AlphaFormat=1021;k.AlwaysDepth=1;k.AlwaysStencilFunc=519;k.AmbientLight=nf;k.AmbientLightProbe=Gg;k.AnimationClip=Oa;k.AnimationLoader=xg;k.AnimationMixer=Ng;k.AnimationObjectGroup=gi;k.AnimationUtils=sa;k.ArcCurve=ad;k.ArrayCamera=Kd;k.ArrowHelper=ub;k.Audio=bd;k.AudioAnalyser=Lg;k.AudioContext= Jg;k.AudioListener=Ig;k.AudioLoader=uf;k.AxesHelper=we;k.AxisHelper=function(a){console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper.");return new we(a)};k.BackSide=1;k.BasicDepthPacking=3200;k.BasicShadowMap=0;k.BinaryTextureLoader=function(a){console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.");return new df(a)};k.Bone=qg;k.BooleanKeyframeTrack=$e;k.BoundingBoxHelper=function(a,b){console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead."); return new tb(a,b)};k.Box2=Qg;k.Box3=Qa;k.Box3Helper=ue;k.BoxBufferGeometry=Gd;k.BoxGeometry=fh;k.BoxHelper=tb;k.BufferAttribute=N;k.BufferGeometry=E;k.BufferGeometryLoader=sf;k.ByteType=1010;k.Cache=rc;k.Camera=cb;k.CameraHelper=te;k.CanvasRenderer=function(){console.error("THREE.CanvasRenderer has been removed")};k.CanvasTexture=Qd;k.CatmullRomCurve3=xa;k.CineonToneMapping=4;k.CircleBufferGeometry=Wc;k.CircleGeometry=ke;k.ClampToEdgeWrapping=1001;k.Clock=Hg;k.ClosedSplineCurve3=ni;k.Color=H;k.ColorKeyframeTrack= af;k.CompressedTexture=Jc;k.CompressedTextureLoader=yg;k.ConeBufferGeometry=je;k.ConeGeometry=ie;k.CubeCamera=Ac;k.CubeGeometry=fh;k.CubeReflectionMapping=301;k.CubeRefractionMapping=302;k.CubeTexture=nb;k.CubeTextureLoader=ef;k.CubeUVReflectionMapping=306;k.CubeUVRefractionMapping=307;k.CubicBezierCurve=Va;k.CubicBezierCurve3=gb;k.CubicInterpolant=Ye;k.CullFaceBack=1;k.CullFaceFront=2;k.CullFaceFrontBack=3;k.CullFaceNone=0;k.Curve=F;k.CurvePath=sb;k.CustomBlending=5;k.CylinderBufferGeometry=rb;k.CylinderGeometry= @@ -1011,7 +1011,7 @@ a.isMultiMaterial=!0;a.materials=a;a.clone=function(){return a.slice()};return a 1;k.OctahedronBufferGeometry=ac;k.OctahedronGeometry=Vd;k.OneFactor=201;k.OneMinusDstAlphaFactor=207;k.OneMinusDstColorFactor=209;k.OneMinusSrcAlphaFactor=205;k.OneMinusSrcColorFactor=203;k.OrthographicCamera=pe;k.PCFShadowMap=1;k.PCFSoftShadowMap=2;k.ParametricBufferGeometry=Lc;k.ParametricGeometry=Sd;k.Particle=function(a){console.warn("THREE.Particle has been renamed to THREE.Sprite.");return new Md(a)};k.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial."); return new Ta(a)};k.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");return new Ic(a,b)};k.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Ta(a)};k.Path=Za;k.PerspectiveCamera=da;k.Plane=Ra;k.PlaneBufferGeometry=Zb;k.PlaneGeometry=Fd;k.PlaneHelper=ve;k.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Ic(a,b)}; k.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Ta(a)};k.PointLight=kf;k.PointLightHelper=ed;k.Points=Ic;k.PointsMaterial=Ta;k.PolarGridHelper=yf;k.PolyhedronBufferGeometry=Ca;k.PolyhedronGeometry=Td;k.PositionalAudio=Kg;k.PositionalAudioHelper=id;k.PropertyBinding=za;k.PropertyMixer=Mg;k.QuadraticBezierCurve=Xa;k.QuadraticBezierCurve3=hb;k.Quaternion=ua;k.QuaternionKeyframeTrack=me;k.QuaternionLinearInterpolant=bf;k.REVISION= -"111dev";k.RGBADepthPacking=3201;k.RGBAFormat=1023;k.RGBA_ASTC_10x10_Format=37819;k.RGBA_ASTC_10x5_Format=37816;k.RGBA_ASTC_10x6_Format=37817;k.RGBA_ASTC_10x8_Format=37818;k.RGBA_ASTC_12x10_Format=37820;k.RGBA_ASTC_12x12_Format=37821;k.RGBA_ASTC_4x4_Format=37808;k.RGBA_ASTC_5x4_Format=37809;k.RGBA_ASTC_5x5_Format=37810;k.RGBA_ASTC_6x5_Format=37811;k.RGBA_ASTC_6x6_Format=37812;k.RGBA_ASTC_8x5_Format=37813;k.RGBA_ASTC_8x6_Format=37814;k.RGBA_ASTC_8x8_Format=37815;k.RGBA_PVRTC_2BPPV1_Format=35843;k.RGBA_PVRTC_4BPPV1_Format= +"111";k.RGBADepthPacking=3201;k.RGBAFormat=1023;k.RGBA_ASTC_10x10_Format=37819;k.RGBA_ASTC_10x5_Format=37816;k.RGBA_ASTC_10x6_Format=37817;k.RGBA_ASTC_10x8_Format=37818;k.RGBA_ASTC_12x10_Format=37820;k.RGBA_ASTC_12x12_Format=37821;k.RGBA_ASTC_4x4_Format=37808;k.RGBA_ASTC_5x4_Format=37809;k.RGBA_ASTC_5x5_Format=37810;k.RGBA_ASTC_6x5_Format=37811;k.RGBA_ASTC_6x6_Format=37812;k.RGBA_ASTC_8x5_Format=37813;k.RGBA_ASTC_8x6_Format=37814;k.RGBA_ASTC_8x8_Format=37815;k.RGBA_PVRTC_2BPPV1_Format=35843;k.RGBA_PVRTC_4BPPV1_Format= 35842;k.RGBA_S3TC_DXT1_Format=33777;k.RGBA_S3TC_DXT3_Format=33778;k.RGBA_S3TC_DXT5_Format=33779;k.RGBDEncoding=3006;k.RGBEEncoding=3002;k.RGBEFormat=1023;k.RGBFormat=1022;k.RGBM16Encoding=3005;k.RGBM7Encoding=3004;k.RGB_ETC1_Format=36196;k.RGB_PVRTC_2BPPV1_Format=35841;k.RGB_PVRTC_4BPPV1_Format=35840;k.RGB_S3TC_DXT1_Format=33776;k.RawShaderMaterial=Xc;k.Ray=Rb;k.Raycaster=ii;k.RectAreaLight=of;k.RectAreaLightHelper=fd;k.RedFormat=1028;k.ReinhardToneMapping=2;k.RepeatWrapping=1E3;k.ReplaceStencilOp= 7681;k.ReverseSubtractEquation=102;k.RingBufferGeometry=Tc;k.RingGeometry=ge;k.Scene=wd;k.SceneUtils={createMultiMaterialObject:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")},detach:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")},attach:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")}};k.ShaderChunk=Q;k.ShaderLib=db;k.ShaderMaterial=na;k.ShadowMaterial= hc;k.Shape=Ib;k.ShapeBufferGeometry=fc;k.ShapeGeometry=ec;k.ShapePath=Cg;k.ShapeUtils=qb;k.ShortType=1011;k.Skeleton=Ve;k.SkeletonHelper=dd;k.SkinnedMesh=Pd;k.SmoothShading=2;k.Sphere=mb;k.SphereBufferGeometry=Hb;k.SphereGeometry=fe;k.Spherical=ki;k.SphericalHarmonics3=vf;k.SphericalReflectionMapping=305;k.Spline=Tg;k.SplineCurve=Ya;k.SplineCurve3=oi;k.SpotLight=jf;k.SpotLightHelper=cd;k.SpotLightShadow=hf;k.Sprite=Md;k.SpriteMaterial=Gb;k.SrcAlphaFactor=204;k.SrcAlphaSaturateFactor=210;k.SrcColorFactor= diff --git a/build/three.module.js b/build/three.module.js index 828badd85418c0cfa7636f693986e27e6d532d50..2f596ba9725040e2de7ccb3665e4a630b8ba745a 100644 --- a/build/three.module.js +++ b/build/three.module.js @@ -91,7 +91,7 @@ if ( Object.assign === undefined ) { } -var REVISION = '111dev'; +var REVISION = '111'; var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }; var TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }; var CullFaceNone = 0; diff --git a/editor/sw.js b/editor/sw.js index 1bf119a336e26156da754f94c5532200ae4a1475..c771e3597eb8c4a4be675585090207cc41471bbe 100644 --- a/editor/sw.js +++ b/editor/sw.js @@ -1,4 +1,4 @@ -// r110 +// r111 const assets = [ './', diff --git a/package.json b/package.json index ba0d3a6b86ea8fc0736c0d4a70f7c5d9ab442b2a..e24bbd49569e8279569c0ffc332d94efcf982d55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "three", - "version": "0.110.0", + "version": "0.111.0", "description": "JavaScript 3D library", "main": "build/three.js", "module": "build/three.module.js", diff --git a/src/constants.js b/src/constants.js index b2270e1e92dd9b61cb0ae6d58926426506022337..7493e93761255966ef37d121376e505b4888386a 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1,4 +1,4 @@ -export var REVISION = '111dev'; +export var REVISION = '111'; export var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }; export var TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }; export var CullFaceNone = 0;