Mr.doob 6 years ago
parent
commit
327c9dde64
6 changed files with 7 additions and 7 deletions
  1. 1 1
      .github/ISSUE_TEMPLATE.md
  2. 1 1
      build/three.js
  3. 2 2
      build/three.min.js
  4. 1 1
      build/three.module.js
  5. 1 1
      package.json
  6. 1 1
      src/constants.js

+ 1 - 1
.github/ISSUE_TEMPLATE.md

@@ -19,7 +19,7 @@ Please also include a live example if possible. You can start from these templat
 ##### Three.js version
 
 - [ ] Dev
-- [ ] r101
+- [ ] r102
 - [ ] ...
 
 ##### Browser

+ 1 - 1
build/three.js

@@ -185,7 +185,7 @@
 
 	} );
 
-	var REVISION = '102dev';
+	var REVISION = '102';
 	var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 	var CullFaceNone = 0;
 	var CullFaceBack = 1;

+ 2 - 2
build/three.min.js

@@ -178,7 +178,7 @@ b){a.opacity.value=b.opacity;b.color&&(a.diffuse.value=b.color);b.emissive&&a.em
 b.lightMap,a.lightMapIntensity.value=b.lightMapIntensity);b.aoMap&&(a.aoMap.value=b.aoMap,a.aoMapIntensity.value=b.aoMapIntensity);if(b.map)var c=b.map;else b.specularMap?c=b.specularMap:b.displacementMap?c=b.displacementMap:b.normalMap?c=b.normalMap:b.bumpMap?c=b.bumpMap:b.roughnessMap?c=b.roughnessMap:b.metalnessMap?c=b.metalnessMap:b.alphaMap?c=b.alphaMap:b.emissiveMap&&(c=b.emissiveMap);void 0!==c&&(c.isWebGLRenderTarget&&(c=c.texture),!0===c.matrixAutoUpdate&&c.updateMatrix(),a.uvTransform.value.copy(c.matrix))}
 function r(a,b){a.specular.value=b.specular;a.shininess.value=Math.max(b.shininess,1E-4);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=
 b.displacementBias)}function u(a,b){a.roughness.value=b.roughness;a.metalness.value=b.metalness;b.roughnessMap&&(a.roughnessMap.value=b.roughnessMap);b.metalnessMap&&(a.metalnessMap.value=b.metalnessMap);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&
-(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);b.envMap&&(a.envMapIntensity.value=b.envMapIntensity)}console.log("THREE.WebGLRenderer","102dev");a=a||{};var w=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),z=void 0!==a.context?a.context:null,x=void 0!==a.alpha?a.alpha:!1,D=void 0!==a.depth?a.depth:!0,y=void 0!==a.stencil?a.stencil:!0,Q=void 0!==a.antialias?a.antialias:
+(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);b.envMap&&(a.envMapIntensity.value=b.envMapIntensity)}console.log("THREE.WebGLRenderer","102");a=a||{};var w=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),z=void 0!==a.context?a.context:null,x=void 0!==a.alpha?a.alpha:!1,D=void 0!==a.depth?a.depth:!0,y=void 0!==a.stencil?a.stencil:!0,Q=void 0!==a.antialias?a.antialias:
 !1,fa=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,A=void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,F=void 0!==a.powerPreference?a.powerPreference:"default",E=null,C=null;this.domElement=w;this.context=null;this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=this.autoClear=!0;this.clippingPlanes=[];this.localClippingEnabled=!1;this.gammaFactor=2;this.physicallyCorrectLights=this.gammaOutput=this.gammaInput=!1;this.toneMappingWhitePoint=this.toneMappingExposure=
 this.toneMapping=1;this.maxMorphTargets=8;this.maxMorphNormals=4;var X=this,J=!1,L=null,G=null,K=null,P=-1;var U=b=null;var ta=!1;var Pb=null,R=null,V=new ba,W=new ba,ca=null,ia=0,S=w.width,N=w.height,T=1,ea=new ba(0,0,S,N),aa=new ba(0,0,S,N),pa=!1,sa=new ud,Y=new bg,xd=!1,ge=!1,Dc=new M,ib=new n;try{x={alpha:x,depth:D,stencil:y,antialias:Q,premultipliedAlpha:fa,preserveDrawingBuffer:A,powerPreference:F};w.addEventListener("webglcontextlost",d,!1);w.addEventListener("webglcontextrestored",e,!1);var O=
 z||w.getContext("webgl",x)||w.getContext("experimental-webgl",x);if(null===O){if(null!==w.getContext("webgl"))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===O.getShaderPrecisionFormat&&(O.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(tf){throw console.error("THREE.WebGLRenderer: "+tf.message),tf;}var la,za,Z,ha,Da,da,ra,ua,oa,ma,va,qa,na,xa,Aa,Ba,ja;c();var ka=null;"undefined"!==
@@ -951,7 +951,7 @@ md;l.VertexNormalsHelper=nd;l.SpotLightHelper=mc;l.SkeletonHelper=nc;l.PointLigh
 Lc;l.ParametricBufferGeometry=Xb;l.TetrahedronGeometry=Nc;l.TetrahedronBufferGeometry=Yb;l.OctahedronGeometry=Oc;l.OctahedronBufferGeometry=vb;l.IcosahedronGeometry=Pc;l.IcosahedronBufferGeometry=Zb;l.DodecahedronGeometry=Qc;l.DodecahedronBufferGeometry=$b;l.PolyhedronGeometry=Mc;l.PolyhedronBufferGeometry=Aa;l.TubeGeometry=Rc;l.TubeBufferGeometry=wb;l.TorusKnotGeometry=Sc;l.TorusKnotBufferGeometry=ac;l.TorusGeometry=Tc;l.TorusBufferGeometry=bc;l.TextGeometry=Yc;l.TextBufferGeometry=cc;l.SphereGeometry=
 Zc;l.SphereBufferGeometry=zb;l.RingGeometry=$c;l.RingBufferGeometry=dc;l.PlaneGeometry=Bc;l.PlaneBufferGeometry=sb;l.LatheGeometry=ad;l.LatheBufferGeometry=ec;l.ShapeGeometry=Ab;l.ShapeBufferGeometry=Bb;l.ExtrudeGeometry=yb;l.ExtrudeBufferGeometry=Va;l.EdgesGeometry=fc;l.ConeGeometry=bd;l.ConeBufferGeometry=cd;l.CylinderGeometry=Cb;l.CylinderBufferGeometry=bb;l.CircleGeometry=dd;l.CircleBufferGeometry=gc;l.BoxGeometry=Ob;l.CubeGeometry=Ob;l.BoxBufferGeometry=rb;l.ShadowMaterial=Db;l.SpriteMaterial=
 jb;l.RawShaderMaterial=hc;l.ShaderMaterial=Ca;l.PointsMaterial=Ia;l.MeshPhysicalMaterial=Eb;l.MeshStandardMaterial=Wa;l.MeshPhongMaterial=Ja;l.MeshToonMaterial=Fb;l.MeshNormalMaterial=Gb;l.MeshLambertMaterial=Hb;l.MeshDepthMaterial=gb;l.MeshDistanceMaterial=hb;l.MeshBasicMaterial=ya;l.MeshMatcapMaterial=Ib;l.LineDashedMaterial=Jb;l.LineBasicMaterial=R;l.Material=K;l.Float64BufferAttribute=zc;l.Float32BufferAttribute=F;l.Uint32BufferAttribute=qb;l.Int32BufferAttribute=yc;l.Uint16BufferAttribute=pb;
-l.Int16BufferAttribute=xc;l.Uint8ClampedBufferAttribute=wc;l.Uint8BufferAttribute=vc;l.Int8BufferAttribute=uc;l.BufferAttribute=P;l.ArcCurve=kc;l.CatmullRomCurve3=oa;l.CubicBezierCurve=La;l.CubicBezierCurve3=Xa;l.EllipseCurve=Ea;l.LineCurve=ja;l.LineCurve3=Ma;l.QuadraticBezierCurve=Na;l.QuadraticBezierCurve3=Ya;l.SplineCurve=Oa;l.REVISION="102dev";l.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2};l.CullFaceNone=0;l.CullFaceBack=1;l.CullFaceFront=2;l.CullFaceFrontBack=3;l.FrontFaceDirectionCW=0;l.FrontFaceDirectionCCW=
+l.Int16BufferAttribute=xc;l.Uint8ClampedBufferAttribute=wc;l.Uint8BufferAttribute=vc;l.Int8BufferAttribute=uc;l.BufferAttribute=P;l.ArcCurve=kc;l.CatmullRomCurve3=oa;l.CubicBezierCurve=La;l.CubicBezierCurve3=Xa;l.EllipseCurve=Ea;l.LineCurve=ja;l.LineCurve3=Ma;l.QuadraticBezierCurve=Na;l.QuadraticBezierCurve3=Ya;l.SplineCurve=Oa;l.REVISION="102";l.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2};l.CullFaceNone=0;l.CullFaceBack=1;l.CullFaceFront=2;l.CullFaceFrontBack=3;l.FrontFaceDirectionCW=0;l.FrontFaceDirectionCCW=
 1;l.BasicShadowMap=0;l.PCFShadowMap=1;l.PCFSoftShadowMap=2;l.FrontSide=0;l.BackSide=1;l.DoubleSide=2;l.FlatShading=1;l.SmoothShading=2;l.NoColors=0;l.FaceColors=1;l.VertexColors=2;l.NoBlending=0;l.NormalBlending=1;l.AdditiveBlending=2;l.SubtractiveBlending=3;l.MultiplyBlending=4;l.CustomBlending=5;l.AddEquation=100;l.SubtractEquation=101;l.ReverseSubtractEquation=102;l.MinEquation=103;l.MaxEquation=104;l.ZeroFactor=200;l.OneFactor=201;l.SrcColorFactor=202;l.OneMinusSrcColorFactor=203;l.SrcAlphaFactor=
 204;l.OneMinusSrcAlphaFactor=205;l.DstAlphaFactor=206;l.OneMinusDstAlphaFactor=207;l.DstColorFactor=208;l.OneMinusDstColorFactor=209;l.SrcAlphaSaturateFactor=210;l.NeverDepth=0;l.AlwaysDepth=1;l.LessDepth=2;l.LessEqualDepth=3;l.EqualDepth=4;l.GreaterEqualDepth=5;l.GreaterDepth=6;l.NotEqualDepth=7;l.MultiplyOperation=0;l.MixOperation=1;l.AddOperation=2;l.NoToneMapping=0;l.LinearToneMapping=1;l.ReinhardToneMapping=2;l.Uncharted2ToneMapping=3;l.CineonToneMapping=4;l.ACESFilmicToneMapping=5;l.UVMapping=
 300;l.CubeReflectionMapping=301;l.CubeRefractionMapping=302;l.EquirectangularReflectionMapping=303;l.EquirectangularRefractionMapping=304;l.SphericalReflectionMapping=305;l.CubeUVReflectionMapping=306;l.CubeUVRefractionMapping=307;l.RepeatWrapping=1E3;l.ClampToEdgeWrapping=1001;l.MirroredRepeatWrapping=1002;l.NearestFilter=1003;l.NearestMipMapNearestFilter=1004;l.NearestMipMapLinearFilter=1005;l.LinearFilter=1006;l.LinearMipMapNearestFilter=1007;l.LinearMipMapLinearFilter=1008;l.UnsignedByteType=

+ 1 - 1
build/three.module.js

@@ -179,7 +179,7 @@ Object.assign( EventDispatcher.prototype, {
 
 } );
 
-var REVISION = '102dev';
+var REVISION = '102';
 var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 var CullFaceNone = 0;
 var CullFaceBack = 1;

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "three",
-  "version": "0.101.1",
+  "version": "0.102.0",
   "description": "JavaScript 3D library",
   "main": "build/three.js",
   "repository": "mrdoob/three.js",

+ 1 - 1
src/constants.js

@@ -1,4 +1,4 @@
-export var REVISION = '102dev';
+export var REVISION = '102';
 export var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 export var CullFaceNone = 0;
 export var CullFaceBack = 1;