Mr.doob пре 5 година
родитељ
комит
36524a4c66
7 измењених фајлова са 9 додато и 21 уклоњено
  1. 1 1
      .github/ISSUE_TEMPLATE.md
  2. 1 7
      build/three.js
  3. 3 3
      build/three.min.js
  4. 1 7
      build/three.module.js
  5. 1 1
      editor/sw.js
  6. 1 1
      package.json
  7. 1 1
      src/constants.js

+ 1 - 1
.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
-- [ ] r115
+- [ ] r116
 - [ ] ...
 
 ##### Browser

+ 1 - 7
build/three.js

@@ -97,7 +97,7 @@
 
 	}
 
-	var REVISION = '116dev';
+	var REVISION = '116';
 	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;
@@ -32758,8 +32758,6 @@
 	CircleBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 	CircleBufferGeometry.prototype.constructor = CircleBufferGeometry;
 
-
-
 	var Geometries = /*#__PURE__*/Object.freeze({
 		__proto__: null,
 		WireframeGeometry: WireframeGeometry,
@@ -33804,8 +33802,6 @@
 
 	};
 
-
-
 	var Materials = /*#__PURE__*/Object.freeze({
 		__proto__: null,
 		ShadowMaterial: ShadowMaterial,
@@ -38252,8 +38248,6 @@
 
 	};
 
-
-
 	var Curves = /*#__PURE__*/Object.freeze({
 		__proto__: null,
 		ArcCurve: ArcCurve,

+ 3 - 3
build/three.min.js

@@ -1017,8 +1017,8 @@ this.texture.repeat=a}},format:{get:function(){console.warn("THREE.WebGLRenderTa
 return this.texture.generateMipmaps},set:function(a){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");this.texture.generateMipmaps=a}}});Object.defineProperties(fd.prototype,{load:{value:function(a){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");var b=this;(new tf).load(a,function(a){b.setBuffer(a)});return this}},startTime:{set:function(){console.warn("THREE.Audio: .startTime is now .play( delay ).")}}});Ig.prototype.getData=
 function(){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()};Dc.prototype.updateCubeMap=function(a,b){console.warn("THREE.CubeCamera: .updateCubeMap() is now .update().");return this.update(a,b)};Ob.crossOrigin=void 0;Ob.loadTexture=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var e=new df;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};
 Ob.loadTextureCube=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");var e=new cf;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Ob.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")};Ob.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:"116dev"}}));l.ACESFilmicToneMapping=5;l.AddEquation=100;l.AddOperation=2;l.AdditiveAnimationBlendMode=2501;l.AdditiveBlending=2;l.AlphaFormat=1021;l.AlwaysDepth=1;l.AlwaysStencilFunc=519;l.AmbientLight=lf;l.AmbientLightProbe=Dg;l.AnimationClip=Pa;l.AnimationLoader=ug;l.AnimationMixer=Kg;l.AnimationObjectGroup=li;l.AnimationUtils=ka;l.ArcCurve=dd;l.ArrayCamera=Ke;l.ArrowHelper=wb;
-l.Audio=fd;l.AudioAnalyser=Ig;l.AudioContext=Gg;l.AudioListener=Fg;l.AudioLoader=tf;l.AxesHelper=qe;l.AxisHelper=function(a){console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper.");return new qe(a)};l.BackSide=1;l.BasicDepthPacking=3200;l.BasicShadowMap=0;l.BinaryTextureLoader=function(a){console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.");return new bf(a)};l.Bone=ng;l.BooleanKeyframeTrack=Ye;l.BoundingBoxHelper=function(a,b){console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead.");
+"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"116"}}));l.ACESFilmicToneMapping=5;l.AddEquation=100;l.AddOperation=2;l.AdditiveAnimationBlendMode=2501;l.AdditiveBlending=2;l.AlphaFormat=1021;l.AlwaysDepth=1;l.AlwaysStencilFunc=519;l.AmbientLight=lf;l.AmbientLightProbe=Dg;l.AnimationClip=Pa;l.AnimationLoader=ug;l.AnimationMixer=Kg;l.AnimationObjectGroup=li;l.AnimationUtils=ka;l.ArcCurve=dd;l.ArrayCamera=Ke;l.ArrowHelper=wb;l.Audio=
+fd;l.AudioAnalyser=Ig;l.AudioContext=Gg;l.AudioListener=Fg;l.AudioLoader=tf;l.AxesHelper=qe;l.AxisHelper=function(a){console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper.");return new qe(a)};l.BackSide=1;l.BasicDepthPacking=3200;l.BasicShadowMap=0;l.BinaryTextureLoader=function(a){console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.");return new bf(a)};l.Bone=ng;l.BooleanKeyframeTrack=Ye;l.BoundingBoxHelper=function(a,b){console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead.");
 return new vb(a,b)};l.Box2=Og;l.Box3=Sa;l.Box3Helper=oe;l.BoxBufferGeometry=Fd;l.BoxGeometry=ih;l.BoxHelper=vb;l.BufferAttribute=N;l.BufferGeometry=B;l.BufferGeometryLoader=rf;l.ByteType=1010;l.Cache=sc;l.Camera=db;l.CameraHelper=ne;l.CanvasRenderer=function(){console.error("THREE.CanvasRenderer has been removed")};l.CanvasTexture=Od;l.CatmullRomCurve3=pa;l.CineonToneMapping=4;l.CircleBufferGeometry=$c;l.CircleGeometry=he;l.ClampToEdgeWrapping=1001;l.Clock=Eg;l.ClosedSplineCurve3=ui;l.Color=A;l.ColorKeyframeTrack=
 Ze;l.CompressedTexture=Nc;l.CompressedTextureLoader=vg;l.ConeBufferGeometry=ge;l.ConeGeometry=fe;l.CubeCamera=Dc;l.CubeGeometry=ih;l.CubeReflectionMapping=301;l.CubeRefractionMapping=302;l.CubeTexture=pb;l.CubeTextureLoader=cf;l.CubeUVReflectionMapping=306;l.CubeUVRefractionMapping=307;l.CubicBezierCurve=Wa;l.CubicBezierCurve3=hb;l.CubicInterpolant=We;l.CullFaceBack=1;l.CullFaceFront=2;l.CullFaceFrontBack=3;l.CullFaceNone=0;l.Curve=G;l.CurvePath=ub;l.CustomBlending=5;l.CylinderBufferGeometry=sb;l.CylinderGeometry=
 gc;l.Cylindrical=pi;l.DataTexture=Zb;l.DataTexture2DArray=Fc;l.DataTexture3D=Gc;l.DataTextureLoader=bf;l.DecrementStencilOp=7683;l.DecrementWrapStencilOp=34056;l.DefaultLoadingManager=hi;l.DepthFormat=1026;l.DepthStencilFormat=1027;l.DepthTexture=Pd;l.DirectionalLight=kf;l.DirectionalLightHelper=jd;l.DirectionalLightShadow=jf;l.DiscreteInterpolant=Xe;l.DodecahedronBufferGeometry=Sc;l.DodecahedronGeometry=Vd;l.DoubleSide=2;l.DstAlphaFactor=206;l.DstColorFactor=208;l.DynamicBufferAttribute=function(a,
@@ -1034,7 +1034,7 @@ l.KeyframeTrack=sa;l.LOD=Nd;l.LatheBufferGeometry=Yc;l.LatheGeometry=ee;l.Layers
 a.isMultiMaterial=!0;a.materials=a;a.clone=function(){return a.slice()};return a};l.MultiplyBlending=4;l.MultiplyOperation=0;l.NearestFilter=1003;l.NearestMipMapLinearFilter=1005;l.NearestMipMapNearestFilter=1004;l.NearestMipmapLinearFilter=1005;l.NearestMipmapNearestFilter=1004;l.NeverDepth=0;l.NeverStencilFunc=512;l.NoBlending=0;l.NoColors=0;l.NoToneMapping=0;l.NormalAnimationBlendMode=2500;l.NormalBlending=1;l.NotEqualDepth=7;l.NotEqualStencilFunc=517;l.NumberKeyframeTrack=ad;l.Object3D=E;l.ObjectLoader=
 sf;l.ObjectSpaceNormalMap=1;l.OctahedronBufferGeometry=ac;l.OctahedronGeometry=Td;l.OneFactor=201;l.OneMinusDstAlphaFactor=207;l.OneMinusDstColorFactor=209;l.OneMinusSrcAlphaFactor=205;l.OneMinusSrcColorFactor=203;l.OrthographicCamera=ed;l.PCFShadowMap=1;l.PCFSoftShadowMap=2;l.PMREMGenerator=Rg;l.ParametricBufferGeometry=Pc;l.ParametricGeometry=Qd;l.Particle=function(a){console.warn("THREE.Particle has been renamed to THREE.Sprite.");return new Ld(a)};l.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.");
 return new Va(a)};l.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");return new Mc(a,b)};l.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};l.Path=$a;l.PerspectiveCamera=ba;l.Plane=Ta;l.PlaneBufferGeometry=$b;l.PlaneGeometry=Ed;l.PlaneHelper=pe;l.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Mc(a,b)};
-l.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};l.PointLight=hf;l.PointLightHelper=hd;l.Points=Mc;l.PointsMaterial=Va;l.PolarGridHelper=wf;l.PolyhedronBufferGeometry=Ea;l.PolyhedronGeometry=Rd;l.PositionalAudio=Hg;l.PropertyBinding=ya;l.PropertyMixer=Jg;l.QuadraticBezierCurve=Ya;l.QuadraticBezierCurve3=ib;l.Quaternion=la;l.QuaternionKeyframeTrack=je;l.QuaternionLinearInterpolant=$e;l.REVISION="116dev";l.RGBADepthPacking=
+l.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};l.PointLight=hf;l.PointLightHelper=hd;l.Points=Mc;l.PointsMaterial=Va;l.PolarGridHelper=wf;l.PolyhedronBufferGeometry=Ea;l.PolyhedronGeometry=Rd;l.PositionalAudio=Hg;l.PropertyBinding=ya;l.PropertyMixer=Jg;l.QuadraticBezierCurve=Ya;l.QuadraticBezierCurve3=ib;l.Quaternion=la;l.QuaternionKeyframeTrack=je;l.QuaternionLinearInterpolant=$e;l.REVISION="116";l.RGBADepthPacking=
 3201;l.RGBAFormat=1023;l.RGBAIntegerFormat=1033;l.RGBA_ASTC_10x10_Format=37819;l.RGBA_ASTC_10x5_Format=37816;l.RGBA_ASTC_10x6_Format=37817;l.RGBA_ASTC_10x8_Format=37818;l.RGBA_ASTC_12x10_Format=37820;l.RGBA_ASTC_12x12_Format=37821;l.RGBA_ASTC_4x4_Format=37808;l.RGBA_ASTC_5x4_Format=37809;l.RGBA_ASTC_5x5_Format=37810;l.RGBA_ASTC_6x5_Format=37811;l.RGBA_ASTC_6x6_Format=37812;l.RGBA_ASTC_8x5_Format=37813;l.RGBA_ASTC_8x6_Format=37814;l.RGBA_ASTC_8x8_Format=37815;l.RGBA_BPTC_Format=36492;l.RGBA_ETC2_EAC_Format=
 37496;l.RGBA_PVRTC_2BPPV1_Format=35843;l.RGBA_PVRTC_4BPPV1_Format=35842;l.RGBA_S3TC_DXT1_Format=33777;l.RGBA_S3TC_DXT3_Format=33778;l.RGBA_S3TC_DXT5_Format=33779;l.RGBDEncoding=3006;l.RGBEEncoding=3002;l.RGBEFormat=1023;l.RGBFormat=1022;l.RGBIntegerFormat=1032;l.RGBM16Encoding=3005;l.RGBM7Encoding=3004;l.RGB_ETC1_Format=36196;l.RGB_ETC2_Format=37492;l.RGB_PVRTC_2BPPV1_Format=35841;l.RGB_PVRTC_4BPPV1_Format=35840;l.RGB_S3TC_DXT1_Format=33776;l.RGFormat=1030;l.RGIntegerFormat=1031;l.RawShaderMaterial=
 tb;l.Ray=Wb;l.Raycaster=Mg;l.RectAreaLight=mf;l.RedFormat=1028;l.RedIntegerFormat=1029;l.ReinhardToneMapping=2;l.RepeatWrapping=1E3;l.ReplaceStencilOp=7681;l.ReverseSubtractEquation=102;l.RingBufferGeometry=Xc;l.RingGeometry=de;l.SRGB8_ALPHA8_ASTC_10x10_Format=37851;l.SRGB8_ALPHA8_ASTC_10x5_Format=37848;l.SRGB8_ALPHA8_ASTC_10x6_Format=37849;l.SRGB8_ALPHA8_ASTC_10x8_Format=37850;l.SRGB8_ALPHA8_ASTC_12x10_Format=37852;l.SRGB8_ALPHA8_ASTC_12x12_Format=37853;l.SRGB8_ALPHA8_ASTC_4x4_Format=37840;l.SRGB8_ALPHA8_ASTC_5x4_Format=

+ 1 - 7
build/three.module.js

@@ -91,7 +91,7 @@ if ( Object.assign === undefined ) {
 
 }
 
-var REVISION = '116dev';
+var REVISION = '116';
 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;
@@ -32750,8 +32750,6 @@ function CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) {
 CircleBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 CircleBufferGeometry.prototype.constructor = CircleBufferGeometry;
 
-
-
 var Geometries = /*#__PURE__*/Object.freeze({
 	__proto__: null,
 	WireframeGeometry: WireframeGeometry,
@@ -33796,8 +33794,6 @@ LineDashedMaterial.prototype.copy = function ( source ) {
 
 };
 
-
-
 var Materials = /*#__PURE__*/Object.freeze({
 	__proto__: null,
 	ShadowMaterial: ShadowMaterial,
@@ -38244,8 +38240,6 @@ SplineCurve.prototype.fromJSON = function ( json ) {
 
 };
 
-
-
 var Curves = /*#__PURE__*/Object.freeze({
 	__proto__: null,
 	ArcCurve: ArcCurve,

+ 1 - 1
editor/sw.js

@@ -1,4 +1,4 @@
-// r115.1
+// r116
 
 const assets = [
 	'./',

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "three",
-  "version": "0.115.0",
+  "version": "0.116.0",
   "description": "JavaScript 3D library",
   "main": "build/three.js",
   "module": "build/three.module.js",

+ 1 - 1
src/constants.js

@@ -1,4 +1,4 @@
-export var REVISION = '116dev';
+export var REVISION = '116';
 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;