MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / Kc

Function Kc

assets/js/space-wrap.js:209–210  ·  view source on GitHub ↗
(a,
b,c,d)

Source from the content-addressed store, hash-verified

207(Aa.isWebGL2?ja.get("EXT_color_buffer_float"):ja.get("EXT_color_buffer_half_float"))?36053===N.checkFramebufferStatus(36160)?0<=b&&b<=a.width-d&&0<=c&&c<=a.height-e&&N.readPixels(b,c,d,e,ea.convert(m),ea.convert(q),f):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete."):console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.")}finally{h&&N.bindFramebuffer(36160,
208ha)}}}else console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.")};this.copyFramebufferToTexture=function(a,b,c){var d=b.image.width,e=b.image.height,f=ea.convert(b.format);ba.setTexture2D(b,0);N.copyTexImage2D(3553,c||0,f,a.x,a.y,d,e,0)};this.copyTextureToTexture=function(a,b,c,d){var e=b.image.width,f=b.image.height,g=ea.convert(c.format),h=ea.convert(c.type);ba.setTexture2D(c,0);b.isDataTexture?N.texSubImage2D(3553,d||0,a.x,a.y,e,f,g,h,b.image.data):
209N.texSubImage2D(3553,d||0,a.x,a.y,g,h,b.image)}}function Ad(a,b){this.name="";this.color=new A(a);this.density=void 0!==b?b:2.5E-4}function Bd(a,b,c){this.name="";this.color=new A(a);this.near=void 0!==b?b:1;this.far=void 0!==c?c:1E3}function Cd(){D.call(this);this.type="Scene";this.overrideMaterial=this.fog=this.background=null;this.autoUpdate=!0}function Ab(a,b){this.array=a;this.stride=b;this.count=void 0!==a?a.length/b:0;this.dynamic=!1;this.updateRange={offset:0,count:-1};this.version=0}function Kc(a,
210b,c,d){this.data=a;this.itemSize=b;this.offset=c;this.normalized=!0===d}function nb(a){Q.call(this);this.type="SpriteMaterial";this.color=new A(16777215);this.map=null;this.rotation=0;this.sizeAttenuation=!0;this.lights=!1;this.transparent=!0;this.setValues(a)}function Lc(a){D.call(this);this.type="Sprite";if(void 0===Yb){Yb=new B;var b=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]);b=new Ab(b,5);Yb.setIndex([0,1,2,0,2,3]);Yb.addAttribute("position",new Kc(b,3,0,!1));Yb.addAttribute("uv",
211new Kc(b,2,3,!1))}this.geometry=Yb;this.material=void 0!==a?a:new nb;this.center=new C(.5,.5)}function Mc(){D.call(this);this.type="LOD";Object.defineProperties(this,{levels:{enumerable:!0,value:[]}})}function Nc(a,b){a&&a.isGeometry&&console.error("THREE.SkinnedMesh no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");qa.call(this,a,b);this.type="SkinnedMesh";this.bindMode="attached";this.bindMatrix=new P;this.bindMatrixInverse=new P}function Dd(a,b){a=a||[];this.bones=a.slice(0);
212this.boneMatrices=new Float32Array(16*this.bones.length);if(void 0===b)this.calculateInverses();else if(this.bones.length===b.length)this.boneInverses=b.slice(0);else for(console.warn("THREE.Skeleton boneInverses is the wrong length."),this.boneInverses=[],a=0,b=this.bones.length;a<b;a++)this.boneInverses.push(new P)}function ke(){D.call(this);this.type="Bone"}function U(a){Q.call(this);this.type="LineBasicMaterial";this.color=new A(16777215);this.linewidth=1;this.linejoin=this.linecap="round";this.lights=
213!1;this.setValues(a)}function ka(a,b,c){1===c&&console.error("THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead.");D.call(this);this.type="Line";this.geometry=void 0!==a?a:new B;this.material=void 0!==b?b:new U({color:16777215*Math.random()})}function V(a,b){ka.call(this,a,b);this.type="LineSegments"}function Ed(a,b){ka.call(this,a,b);this.type="LineLoop"}function Ia(a){Q.call(this);this.type="PointsMaterial";this.color=new A(16777215);this.map=null;this.size=

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected