提交 580af89d 编写于 作者: M Mr.doob

Updated builds.

上级 a3f2ff18
......@@ -185,7 +185,7 @@
} );
var REVISION = '101';
var REVISION = '102dev';
var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
var CullFaceNone = 0;
var CullFaceBack = 1;
......@@ -178,7 +178,7 @@ c.map.updateMatrix(),q.uvTransform.value.copy(c.map.matrix))):c.isShadowMaterial
b.lightMap&&(a.lightMap.value=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","101");a=a||{};var x=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),z=void 0!==a.context?a.context:null,v=void 0!==a.alpha?a.alpha:!1,I=void 0!==a.depth?a.depth:!0,y=void 0!==a.stencil?a.stencil:!0,N=void 0!==a.antialias?
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 x=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),z=void 0!==a.context?a.context:null,v=void 0!==a.alpha?a.alpha:!1,I=void 0!==a.depth?a.depth:!0,y=void 0!==a.stencil?a.stencil:!0,N=void 0!==a.antialias?
a.antialias:!1,A=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,F=void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,B=void 0!==a.powerPreference?a.powerPreference:"default",D=null,C=null;this.domElement=x;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 Y=this,H=!1,J=null,R=null,K=null,L=-1;var O=b=null;var vd=!1;var W=null,S=null,U=new V,Cc=new V,ea=null,ca=0,X=x.width,M=x.height,T=1,fa=new V(0,0,X,M),ka=new V(0,0,X,M),sa=!1,qa=new td,Z=new Xf,xd=!1,ce=!1,Bc=new Q,hb=new n;try{v={alpha:v,depth:I,stencil:y,antialias:N,premultipliedAlpha:A,preserveDrawingBuffer:F,powerPreference:B};x.addEventListener("webglcontextlost",d,!1);x.addEventListener("webglcontextrestored",e,!1);var P=
z||x.getContext("webgl",v)||x.getContext("experimental-webgl",v);if(null===P){if(null!==x.getContext("webgl"))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===P.getShaderPrecisionFormat&&(P.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(Wg){console.error("THREE.WebGLRenderer: "+Wg.message)}var la,ya,aa,ba,Da,da,ra,va,oa,na,ua,pa,ma,za,Aa,Ba,ia;c();var ja=null;"undefined"!==typeof navigator&&
......@@ -945,7 +945,7 @@ Q;k.Matrix3=qa;k.Box3=Ya;k.Box2=De;k.Line3=Ee;k.Euler=mb;k.Vector4=V;k.Vector3=n
pe;k.Font=qe;k.CurvePath=bb;k.Curve=J;k.ImageUtils=kb;k.ShapeUtils=$a;k.WebGLUtils=hf;k.WireframeGeometry=Vb;k.ParametricGeometry=Kc;k.ParametricBufferGeometry=Wb;k.TetrahedronGeometry=Mc;k.TetrahedronBufferGeometry=Xb;k.OctahedronGeometry=Nc;k.OctahedronBufferGeometry=tb;k.IcosahedronGeometry=Oc;k.IcosahedronBufferGeometry=Yb;k.DodecahedronGeometry=Pc;k.DodecahedronBufferGeometry=Zb;k.PolyhedronGeometry=Lc;k.PolyhedronBufferGeometry=za;k.TubeGeometry=Qc;k.TubeBufferGeometry=$b;k.TorusKnotGeometry=
Rc;k.TorusKnotBufferGeometry=ac;k.TorusGeometry=Sc;k.TorusBufferGeometry=bc;k.TextGeometry=Xc;k.TextBufferGeometry=cc;k.SphereGeometry=Yc;k.SphereBufferGeometry=wb;k.RingGeometry=Zc;k.RingBufferGeometry=dc;k.PlaneGeometry=zc;k.PlaneBufferGeometry=qb;k.LatheGeometry=$c;k.LatheBufferGeometry=ec;k.ShapeGeometry=xb;k.ShapeBufferGeometry=yb;k.ExtrudeGeometry=vb;k.ExtrudeBufferGeometry=Ua;k.EdgesGeometry=fc;k.ConeGeometry=ad;k.ConeBufferGeometry=bd;k.CylinderGeometry=zb;k.CylinderBufferGeometry=ab;k.CircleGeometry=
cd;k.CircleBufferGeometry=gc;k.BoxGeometry=Mb;k.CubeGeometry=Mb;k.BoxBufferGeometry=pb;k.ShadowMaterial=Ab;k.SpriteMaterial=ib;k.RawShaderMaterial=hc;k.ShaderMaterial=Ca;k.PointsMaterial=Ha;k.MeshPhysicalMaterial=Bb;k.MeshStandardMaterial=Va;k.MeshPhongMaterial=Ia;k.MeshToonMaterial=Cb;k.MeshNormalMaterial=Db;k.MeshLambertMaterial=Eb;k.MeshDepthMaterial=fb;k.MeshDistanceMaterial=gb;k.MeshBasicMaterial=xa;k.MeshMatcapMaterial=Fb;k.LineDashedMaterial=Gb;k.LineBasicMaterial=W;k.Material=L;k.Float64BufferAttribute=
yc;k.Float32BufferAttribute=B;k.Uint32BufferAttribute=ob;k.Int32BufferAttribute=xc;k.Uint16BufferAttribute=nb;k.Int16BufferAttribute=wc;k.Uint8ClampedBufferAttribute=vc;k.Uint8BufferAttribute=uc;k.Int8BufferAttribute=tc;k.BufferAttribute=K;k.ArcCurve=kc;k.CatmullRomCurve3=va;k.CubicBezierCurve=Ka;k.CubicBezierCurve3=Wa;k.EllipseCurve=Ea;k.LineCurve=Ba;k.LineCurve3=La;k.QuadraticBezierCurve=Ma;k.QuadraticBezierCurve3=Xa;k.SplineCurve=Na;k.REVISION="101";k.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2};k.CullFaceNone=
yc;k.Float32BufferAttribute=B;k.Uint32BufferAttribute=ob;k.Int32BufferAttribute=xc;k.Uint16BufferAttribute=nb;k.Int16BufferAttribute=wc;k.Uint8ClampedBufferAttribute=vc;k.Uint8BufferAttribute=uc;k.Int8BufferAttribute=tc;k.BufferAttribute=K;k.ArcCurve=kc;k.CatmullRomCurve3=va;k.CubicBezierCurve=Ka;k.CubicBezierCurve3=Wa;k.EllipseCurve=Ea;k.LineCurve=Ba;k.LineCurve3=La;k.QuadraticBezierCurve=Ma;k.QuadraticBezierCurve3=Xa;k.SplineCurve=Na;k.REVISION="102dev";k.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2};k.CullFaceNone=
0;k.CullFaceBack=1;k.CullFaceFront=2;k.CullFaceFrontBack=3;k.FrontFaceDirectionCW=0;k.FrontFaceDirectionCCW=1;k.BasicShadowMap=0;k.PCFShadowMap=1;k.PCFSoftShadowMap=2;k.FrontSide=0;k.BackSide=1;k.DoubleSide=2;k.FlatShading=1;k.SmoothShading=2;k.NoColors=0;k.FaceColors=1;k.VertexColors=2;k.NoBlending=0;k.NormalBlending=1;k.AdditiveBlending=2;k.SubtractiveBlending=3;k.MultiplyBlending=4;k.CustomBlending=5;k.AddEquation=100;k.SubtractEquation=101;k.ReverseSubtractEquation=102;k.MinEquation=103;k.MaxEquation=
104;k.ZeroFactor=200;k.OneFactor=201;k.SrcColorFactor=202;k.OneMinusSrcColorFactor=203;k.SrcAlphaFactor=204;k.OneMinusSrcAlphaFactor=205;k.DstAlphaFactor=206;k.OneMinusDstAlphaFactor=207;k.DstColorFactor=208;k.OneMinusDstColorFactor=209;k.SrcAlphaSaturateFactor=210;k.NeverDepth=0;k.AlwaysDepth=1;k.LessDepth=2;k.LessEqualDepth=3;k.EqualDepth=4;k.GreaterEqualDepth=5;k.GreaterDepth=6;k.NotEqualDepth=7;k.MultiplyOperation=0;k.MixOperation=1;k.AddOperation=2;k.NoToneMapping=0;k.LinearToneMapping=1;k.ReinhardToneMapping=
2;k.Uncharted2ToneMapping=3;k.CineonToneMapping=4;k.ACESFilmicToneMapping=5;k.UVMapping=300;k.CubeReflectionMapping=301;k.CubeRefractionMapping=302;k.EquirectangularReflectionMapping=303;k.EquirectangularRefractionMapping=304;k.SphericalReflectionMapping=305;k.CubeUVReflectionMapping=306;k.CubeUVRefractionMapping=307;k.RepeatWrapping=1E3;k.ClampToEdgeWrapping=1001;k.MirroredRepeatWrapping=1002;k.NearestFilter=1003;k.NearestMipMapNearestFilter=1004;k.NearestMipMapLinearFilter=1005;k.LinearFilter=1006;
......
......@@ -179,7 +179,7 @@ Object.assign( EventDispatcher.prototype, {
} );
var REVISION = '101';
var REVISION = '102dev';
var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
var CullFaceNone = 0;
var CullFaceBack = 1;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册