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

Updated builds.

上级 dd7c0d7e
......@@ -2474,7 +2474,7 @@
this.texture.minFilter = options.minFilter !== undefined ? options.minFilter : LinearFilter;
this.depthBuffer = options.depthBuffer !== undefined ? options.depthBuffer : true;
this.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : true;
this.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : false;
this.depthTexture = options.depthTexture !== undefined ? options.depthTexture : null;
}
......@@ -2,7 +2,7 @@
(function(k,Ma){"object"===typeof exports&&"undefined"!==typeof module?Ma(exports):"function"===typeof define&&define.amd?define(["exports"],Ma):(k=k||self,Ma(k.THREE={}))})(this,function(k){function Ma(){}function ja(c,a,b,d,e,f,g,h,l,n){Object.defineProperty(this,"id",{value:gj++});this.uuid=R.generateUUID();this.name="";this.image=void 0!==c?c:ja.DEFAULT_IMAGE;this.mipmaps=[];this.mapping=void 0!==a?a:ja.DEFAULT_MAPPING;this.wrapS=void 0!==b?b:1001;this.wrapT=void 0!==d?d:1001;this.magFilter=void 0!==
e?e:1006;this.minFilter=void 0!==f?f:1008;this.anisotropy=void 0!==l?l:1;this.format=void 0!==g?g:1023;this.internalFormat=null;this.type=void 0!==h?h:1009;this.offset=new p(0,0);this.repeat=new p(1,1);this.center=new p(0,0);this.rotation=0;this.matrixAutoUpdate=!0;this.matrix=new U;this.generateMipmaps=!0;this.premultiplyAlpha=!1;this.flipY=!0;this.unpackAlignment=4;this.encoding=void 0!==n?n:3E3;this.version=0;this.onUpdate=null}function Ta(c,a,b){this.width=c;this.height=a;this.scissor=new E(0,
0,c,a);this.scissorTest=!1;this.viewport=new E(0,0,c,a);b=b||{};this.texture=new ja(void 0,b.mapping,b.wrapS,b.wrapT,b.magFilter,b.minFilter,b.format,b.type,b.anisotropy,b.encoding);this.texture.image={};this.texture.image.width=c;this.texture.image.height=a;this.texture.generateMipmaps=void 0!==b.generateMipmaps?b.generateMipmaps:!1;this.texture.minFilter=void 0!==b.minFilter?b.minFilter:1006;this.depthBuffer=void 0!==b.depthBuffer?b.depthBuffer:!0;this.stencilBuffer=void 0!==b.stencilBuffer?b.stencilBuffer:
!0;this.depthTexture=void 0!==b.depthTexture?b.depthTexture:null}function lg(c,a,b){Ta.call(this,c,a,b);this.samples=4}function mg(c,a,b,d,e){for(var f=0,g=c.length-3;f<=g;f+=3){jc.fromArray(c,f);var h=e.x*Math.abs(jc.x)+e.y*Math.abs(jc.y)+e.z*Math.abs(jc.z),l=a.dot(jc),n=b.dot(jc),r=d.dot(jc);if(Math.max(-Math.max(l,n,r),Math.min(l,n,r))>h)return!1}return!0}function K(){Object.defineProperty(this,"id",{value:hj++});this.uuid=R.generateUUID();this.name="";this.type="Object3D";this.parent=null;this.children=
!1;this.depthTexture=void 0!==b.depthTexture?b.depthTexture:null}function lg(c,a,b){Ta.call(this,c,a,b);this.samples=4}function mg(c,a,b,d,e){for(var f=0,g=c.length-3;f<=g;f+=3){jc.fromArray(c,f);var h=e.x*Math.abs(jc.x)+e.y*Math.abs(jc.y)+e.z*Math.abs(jc.z),l=a.dot(jc),n=b.dot(jc),r=d.dot(jc);if(Math.max(-Math.max(l,n,r),Math.min(l,n,r))>h)return!1}return!0}function K(){Object.defineProperty(this,"id",{value:hj++});this.uuid=R.generateUUID();this.name="";this.type="Object3D";this.parent=null;this.children=
[];this.up=K.DefaultUp.clone();var c=new m,a=new Ba,b=new Q,d=new m(1,1,1);a._onChange(function(){b.setFromEuler(a,!1)});b._onChange(function(){a.setFromQuaternion(b,void 0,!1)});Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:c},rotation:{configurable:!0,enumerable:!0,value:a},quaternion:{configurable:!0,enumerable:!0,value:b},scale:{configurable:!0,enumerable:!0,value:d},modelViewMatrix:{value:new y},normalMatrix:{value:new U}});this.matrix=new y;this.matrixWorld=new y;
this.matrixAutoUpdate=K.DefaultMatrixAutoUpdate;this.matrixWorldNeedsUpdate=!1;this.layers=new ob;this.visible=!0;this.receiveShadow=this.castShadow=!1;this.frustumCulled=!0;this.renderOrder=0;this.userData={}}function F(c,a,b){return void 0===a&&void 0===b?this.set(c):this.setRGB(c,a,b)}function ng(c,a,b){0>b&&(b+=1);1<b&&--b;return b<1/6?c+6*(a-c)*b:.5>b?a:b<2/3?c+6*(a-c)*(2/3-b):c}function og(c){return.04045>c?.0773993808*c:Math.pow(.9478672986*c+.0521327014,2.4)}function pg(c){return.0031308>
c?12.92*c:1.055*Math.pow(c,.41666)-.055}function M(){Object.defineProperty(this,"id",{value:ij++});this.uuid=R.generateUUID();this.name="";this.type="Material";this.fog=!0;this.blending=1;this.side=0;this.vertexColors=this.flatShading=!1;this.opacity=1;this.transparent=!1;this.blendSrc=204;this.blendDst=205;this.blendEquation=100;this.blendEquationAlpha=this.blendDstAlpha=this.blendSrcAlpha=null;this.depthFunc=3;this.depthWrite=this.depthTest=!0;this.stencilWriteMask=255;this.stencilFunc=519;this.stencilRef=
......
......@@ -2464,7 +2464,7 @@ function WebGLRenderTarget( width, height, options ) {
this.texture.minFilter = options.minFilter !== undefined ? options.minFilter : LinearFilter;
this.depthBuffer = options.depthBuffer !== undefined ? options.depthBuffer : true;
this.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : true;
this.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : false;
this.depthTexture = options.depthTexture !== undefined ? options.depthTexture : null;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册