id int64 0 1.29M | original_id stringlengths 32 32 | swhid stringlengths 100 170 | sha1 stringlengths 40 40 | repo_name stringlengths 2 45 | repo_group stringclasses 12
values | filepath stringlengths 5 153 | name stringlengths 1 14.9k | type stringclasses 3
values | code stringlengths 7 2.12M |
|---|---|---|---|---|---|---|---|---|---|
5,500 | ef177159be7433452bebdbed995c1d66 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | du::fromJSON | function | static fromJSON(e){return new du(e.radius,e.detail)} |
5,501 | b3fef0760b3614d08238aec38e12a043 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | NA::updateMatrixWorld | function | updateMatrixWorld(e){super.updateMatrixWorld(e);const t=this.context.listener,i=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(LA,DA,PA),UA.set(0,0,-1).applyQuaternion(DA),t.positionX){const e=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(LA.x,e),t.positionY.li... |
5,502 | 5772c6f4b6dbef7499e3bee1c7755dfa | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | hp | function | function hp(e,t,i,n){if(e.layers.test(t.layers)&&e.raycast(t,i),!0===n){const n=e.children;for(let e=0,r=n.length;e<r;e++)hp(n[e],t,i,!0)}} |
5,503 | 83b3e8f1c911e24085972d87e3344f13 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ig::_loadLight | function | _loadLight(e){const t=this.parser,i="light:"+e;let n=t.cache.get(i);if(n)return n;const r=t.json,a=((r.extensions&&r.extensions[this.name]||{}).lights||[])[e];let s;const o=new Kr(16777215);void 0!==a.color&&o.setRGB(a.color[0],a.color[1],a.color[2],Xt);const c=void 0!==a.range?a.range:0;switch(a.type){case"directional... |
5,504 | f3ea52099ae3e0d886cbac48d2c92616 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | xg::constructor | function | constructor(){this.name=tg.KHR_TEXTURE_TRANSFORM} |
5,505 | 91d5418a1f6531ecd6d48a8db4696c7a | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ac::upload | function | static upload(e,t,i,n){for(let r=0,a=t.length;r!==a;++r){const a=t[r],s=i[a.id];!1!==s.needsUpdate&&a.setValue(e,s.value,n)}} |
5,506 | 36f7954f2065f289217a58af2e5582e0 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Rn::angleTo | function | angleTo(e){return 2*Math.acos(Math.abs(Wi(this.dot(e),-1,1)))} |
5,507 | cc05fbc12bf5767215fc93fc0c792c63 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Kr::setHex | function | setHex(e,t=qt){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,pn.toWorkingColorSpace(this,t),this} |
5,508 | b714fe019a99ecbef55edef8272ecefc | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Cs | function | function Cs(e,t,i,n){const r=e.getParameter(e.MAX_VERTEX_ATTRIBS),a=n.isWebGL2?null:t.get("OES_vertex_array_object"),s=n.isWebGL2||null!==a,o={},c=A(null);let l=c,h=!1;function u(t){return n.isWebGL2?e.bindVertexArray(t):a.bindVertexArrayOES(t)}function d(t){return n.isWebGL2?e.deleteVertexArray(t):a.deleteVertexArrayO... |
5,509 | 8a989ccd36218c617af2bff67d185417 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ac::constructor | function | constructor(e,t){this.seq=[],this.map={};const i=e.getProgramParameter(t,e.ACTIVE_UNIFORMS);for(let n=0;n<i;++n){const i=e.getActiveUniform(t,n);rc(i,e.getUniformLocation(t,i.name),this)}} |
5,510 | d00fa9e5a15c7c48f9e676feb2cad9b8 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ol::toJSON | function | toJSON(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const i=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[i+t])}return{itemSize:this... |
5,511 | b51ef797a9da0b1648412d44eadf352f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | uu::constructor::u | function | function u(e){return Math.atan2(-e.y,Math.sqrt(e.x*e.x+e.z*e.z))} |
5,512 | 1ecd3bb253dd362de7d3f1335f7c7b69 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | eA::clone | function | clone(){return(new this.constructor).copy(this)} |
5,513 | 77c8254926fc641eed762d9ea0952604 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | HA::updateMatrixWorld | function | updateMatrixWorld(e){if(super.updateMatrixWorld(e),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(FA,OA,kA),GA.set(0,0,1).applyQuaternion(OA);const t=this.panner;if(t.positionX){const e=this.context.currentTime+this.listener.timeDelta;t.positionX.linearRampToValueAtTime(FA.x,e),t.po... |
5,514 | 68f2a3c8e1d0cd5299183d1448a869eb | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | rp::setUsage | function | setUsage(e){return this.usage=e,this} |
5,515 | a9009c2ab8c5c1edcd7bfbfb5abf7a69 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | $A::getMixer | function | getMixer(){return this._mixer} |
5,516 | 7f299027b2345feda5ae8e0e446d0b07 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ru::updateArcLengths | function | updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()} |
5,517 | 966dc4876fd41180e004fd3edc1736a8 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Pc | function | function Pc(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+(t.map?1:0)-(e.map?1:0)} |
5,518 | eea7435d1cd09a145af159a0507e81ab | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Gl::init | function | init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(16*e.length),0===t.length)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let e=0,t=this.bones.length;e<t;e++... |
5,519 | a9bfee791c9b67261d442ad2ec7e537d | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ln | function | function ln(e){e in cn||(cn[e]=!0,console.warn(e))} |
5,520 | 768a2b800d1bddbcdfac8841dddea4d3 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | $n::isEmpty | function | isEmpty(){return this.radius<0} |
5,521 | 4a923d8b33f5fe92721da56e764a6810 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | jr::getArea | function | getArea(){return Nr.subVectors(this.c,this.b),Qr.subVectors(this.a,this.b),.5*Nr.cross(Qr).length()} |
5,522 | c60ab11053dc15c2ea9b07bc46361d76 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Kr::setHSL | function | setHSL(e,t,i,n=pn.workingColorSpace){if(e=ji(e,1),t=Wi(t,0,1),i=Wi(i,0,1),0===t)this.r=this.g=this.b=i;else{const n=i<=.5?i*(1+t):i+t-i*t,r=2*i-n;this.r=Jr(r,n,e+1/3),this.g=Jr(r,n,e),this.b=Jr(r,n,e-1/3)}return pn.toWorkingColorSpace(this,n),this} |
5,523 | 3cf146ab6c57bcfa0805be37ab74ddf6 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ea::onBeforeRender | function | onBeforeRender(){} |
5,524 | 80e195233d085f852621122877bb1011 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Qo | function | function Qo(e,t){const i=ho(t,this.size,4);e.uniform4fv(this.addr,i)} |
5,525 | fd920b580cdb7ea7971af2c54f05b5a3 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | el::outputColorSpace | function | set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=e===Yt?"display-p3":"srgb",t.unpackColorSpace=pn.workingColorSpace===Jt?"display-p3":"srgb"} |
5,526 | f1897f22196909be6c62bdf61351af00 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | of::constructor | function | constructor(){this.vkFormat=0,this.typeSize=1,this.pixelWidth=0,this.pixelHeight=0,this.pixelDepth=0,this.layerCount=0,this.faceCount=1,this.supercompressionScheme=0,this.levels=[],this.dataFormatDescriptor=[{vendorId:0,descriptorType:0,descriptorBlockSize:0,versionNumber:2,colorModel:0,colorPrimaries:1,transferFunctio... |
5,527 | ee7d4830c2d88d271cb07a17d7728ff5 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | QA::setFilters | function | setFilters(e){return e||(e=[]),!0===this._connected?(this.disconnect(),this.filters=e.slice(),this.connect()):this.filters=e.slice(),this} |
5,528 | cdd331a748d80c4e6bd300915d361199 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | cg::constructor | function | constructor(e){this.parser=e,this.name=tg.KHR_MATERIALS_TRANSMISSION} |
5,529 | bd4c95e1a3a44f0cc57fbabf63ee6b54 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Oh::copy | function | copy(e){return super.copy(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this} |
5,530 | ec52993fc699f9ecf22f79d6eaa53a89 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | jh::toJSON | function | toJSON(){const e=super.toJSON();e.points=[];for(let t=0,i=this.points.length;t<i;t++){const i=this.points[t];e.points.push(i.toArray())}return e.closed=this.closed,e.curveType=this.curveType,e.tension=this.tension,e} |
5,531 | 5f74bddd4c54096562260b9f78ae0327 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Un::constructor | function | constructor(e=new Ln(1/0,1/0,1/0),t=new Ln(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t} |
5,532 | dc11715867533a567cb0f24ea16e4386 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | kc::M | function | function M(i,r,a,s,o){if(!1===i.visible)return;if(i.layers.test(r.layers)&&(i.isMesh||i.isLine||i.isPoints)&&(i.castShadow||i.receiveShadow&&o===d)&&(!i.frustumCulled||n.intersectsObject(i))){i.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,i.matrixWorld);const n=t.update(i),c=i.material;if(Array.isArray(c)){con... |
5,533 | 975d7af18c07ff1d598be6178994f41c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Yd::constructor | function | constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new Kr(e),this.intensity=t} |
5,534 | 939cf4bc724b44416120d00bd842db9c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | bA::parseObject | function | parseObject(e,t,i,n,r){let a,s,o;function c(e){return void 0===t[e]&&console.warn("THREE.ObjectLoader: Undefined geometry",e),t[e]}function l(e){if(void 0!==e){if(Array.isArray(e)){const t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n];void 0===i[r]&&console.warn("THREE.ObjectLoader: Undefined material",r),t.push(i[r]... |
5,535 | 2e6025629777de05667e09bf0b1ac99f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | rp::constructor | function | constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,"id",{value:np++}),this.name="",this.usage=Ii,this.uniforms=[]} |
5,536 | ad7c2b530deea99d7a09757b0dedf82c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | zg::_markDefs | function | _markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],i=this.json.meshes||[];for(let i=0,n=t.length;i<n;i++){const n=t[i].joints;for(let t=0,i=n.length;t<i;t++)e[n[t]].isBone=!0}for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==n.mesh&&(this._addNodeRef(this.meshCache,n.mesh),void 0!==n.skin&&(i[n.mesh].isS... |
5,537 | bdc019a5a734d898834d96f911d9878f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ma::computeBoundingSphere | function | computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new $n);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this),void this.bounding... |
5,538 | 47004fc72a14fcb9c52c3fa498f83abc | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | vr::test | function | test(e){return 0!==(this.mask&e.mask)} |
5,539 | 94838e091b3a093c4d04598486d9fe1b | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Vs::n | function | function n(e){const i=e.target;i.removeEventListener("dispose",n);const r=t.get(i);void 0!==r&&(t.delete(i),r.dispose())} |
5,540 | c0174df765508e700fb0b7e8042268d0 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Jl::copy | function | copy(e,t){return super.copy(e,t),this.instanceMatrix.copy(e.instanceMatrix),null!==e.instanceColor&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,null!==e.boundingBox&&(this.boundingBox=e.boundingBox.clone()),null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),this} |
5,541 | 4ea54f3264299209144c62d789408b0b | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ln::angleTo | function | angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const i=this.dot(e)/t;return Math.acos(Wi(i,-1,1))} |
5,542 | ffc6fa97e62d6d01f3e25ed5b43312f9 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | $i::applyMatrix3 | function | applyMatrix3(e){const t=this.x,i=this.y,n=e.elements;return this.x=n[0]*t+n[3]*i+n[6],this.y=n[1]*t+n[4]*i+n[7],this} |
5,543 | b108f21f579b7eb9b85afc07e3b4558f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | an | function | function an(e,t){return new rn[e](t)} |
5,544 | b4d50d72b7a5fcc88dcc584783b2f996 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | $n::union | function | union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(Zn.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Kn.copy(e.center).add(Zn)),this.expandByPoint(Kn.copy(e.center).sub(Zn))),this)} |
5,545 | a844f7d51dc9a25b796b3e383ab4a141 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | or::closestPointToPoint | function | closestPointToPoint(e,t){t.subVectors(e,this.origin);const i=t.dot(this.direction);return i<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,i)} |
5,546 | a4892795f5e138074491294e8b0d185e | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | $h::copy | function | copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this} |
5,547 | 64b584e1363dac82c06d98a0d6cd2684 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | yp::updateMatrixWorld | function | updateMatrixWorld(e){const t=this.bones,i=this.geometry,n=i.getAttribute("position");xp.copy(this.root.matrixWorld).invert();for(let e=0,i=0;e<t.length;e++){const r=t[e];r.parent&&r.parent.isBone&&(Ep.multiplyMatrices(xp,r.matrixWorld),_p.setFromMatrixPosition(Ep),n.setXYZ(i,_p.x,_p.y,_p.z),Ep.multiplyMatrices(xp,r.par... |
5,548 | f31cb72dee0fad0714f83fb01ec1df71 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | is::clearViewOffset | function | clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()} |
5,549 | fc02a8360b133c41654adcead45ee7cd | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ah::_initMatricesTexture | function | _initMatricesTexture(){let e=Math.sqrt(4*this._maxGeometryCount);e=4*Math.ceil(e/4),e=Math.max(e,4);const t=new Float32Array(e*e*4),i=new Fl(t,e,e,ke,Pe);this._matricesTexture=i} |
5,550 | 8d45eaa45770a554ed2150fac10f408c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Rn::z | function | set z(e){this._z=e,this._onChangeCallback()} |
5,551 | 19e33867f31f8d5753b2c7b05a27ff4b | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ln::dot | function | dot(e){return this.x*e.x+this.y*e.y+this.z*e.z} |
5,552 | 623436026e67bc50bcdf83fe24df6aab | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | br::setFromRotationMatrix | function | setFromRotationMatrix(e,t=this._order,i=!0){const n=e.elements,r=n[0],a=n[4],s=n[8],o=n[1],c=n[5],l=n[9],h=n[2],u=n[6],d=n[10];switch(t){case"XYZ":this._y=Math.asin(Wi(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-l,d),this._z=Math.atan2(-a,r)):(this._x=Math.atan2(u,c),this._z=0);break;case"YXZ":this._x=Math.asin(... |
5,553 | feddb3aeeed2397b3bef1f1be539d04b | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | vr::set | function | set(e){this.mask=1<<e>>>0} |
5,554 | 8a5c509b2077c2bc7c55a9d623497bff | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Gl::computeBoneTexture | function | computeBoneTexture(){let e=Math.sqrt(4*this.bones.length);e=4*Math.ceil(e/4),e=Math.max(e,4);const t=new Float32Array(e*e*4);t.set(this.boneMatrices);const i=new Fl(t,e,e,ke,Pe);return i.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=i,this} |
5,555 | a9447ea6238c0558d26cdbee8b0b795c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | bu::copy | function | copy(e){super.copy(e),this.holes=[];for(let t=0,i=e.holes.length;t<i;t++){const i=e.holes[t];this.holes.push(i.clone())}return this} |
5,556 | 56132782c4056b9fa3799425205c5623 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | bu::fromJSON | function | fromJSON(e){super.fromJSON(e),this.uuid=e.uuid,this.holes=[];for(let t=0,i=e.holes.length;t<i;t++){const i=e.holes[t];this.holes.push((new au).fromJSON(i))}return this} |
5,557 | e8bbf8d1b07497a1fb8370c261b8aaf1 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | xd::interpolate_ | function | interpolate_(){throw new Error("call to abstract method")} |
5,558 | c496c857d5b39f46c2b35c6993c42576 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Yd::toJSON | function | toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,void 0!==this.groundColor&&(t.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(t.object.distance=this.distance),void 0!==this.angle&&(t.object.angle=this.angle),void 0!==this.decay&&(t.obj... |
5,559 | e185f5f2495b27172a1b9bae03334935 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | uo | function | function uo(e,t){if(e.length!==t.length)return!1;for(let i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0} |
5,560 | a70c66ae2151cf4c97ca76f1b6889b2f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | $h::fromJSON | function | fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this} |
5,561 | b077fb74c8bec4b9de86b27d00def6e9 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Os::_halfBlur | function | _halfBlur(e,t,i,n,r,a,s){const o=this._renderer,c=this._blurMaterial;"latitudinal"!==a&&"longitudinal"!==a&&console.error("blur direction must be either latitudinal or longitudinal!");const l=new Va(this._lodPlanes[n],c),h=c.uniforms,u=this._sizeLods[i]-1,d=isFinite(r)?Math.PI/(2*u):2*Math.PI/39,A=r/d,p=isFinite(r)?1+M... |
5,562 | 57cf607e5666455eb08d4b01a39ce312 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | In::dispose | function | dispose(){this.dispatchEvent({type:"dispose"})} |
5,563 | 485d5cc5f318bfd9e899074e847ca6af | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Tn::constructor | function | constructor(e=null,t=1,i=1,n=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:i,depth:n},this.magFilter=be,this.minFilter=be,this.wrapR=fe,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1} |
5,564 | ec970be3a8864329ed7a2585850f44d4 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Rn::identity | function | identity(){return this.set(0,0,0,1)} |
5,565 | 090457b807302cf5b849e61ff15162bf | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Rn::fromArray | function | fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this} |
5,566 | 5bc6d922eed48749c8c145363ef57a5d | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Cn::min | function | min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this} |
5,567 | a9bc030f225bb66dd1f1700dec08fca0 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | or::equals | function | equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)} |
5,568 | 37ab50bac878f8a61ff13ce0600f1a1f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ZA::constructor::inUse | function | get inUse(){return this.total-t.nCachedObjects_} |
5,569 | c4adbc5030b5973b6b7af8c868b1e94f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | mp::getCenter | function | getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)} |
5,570 | c6ce5c9fe2232bb3f0c8fd85cc2a5b65 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | zg::_createAnimationTracks | function | _createAnimationTracks(e,t,i,n,r){const a=[],s=e.name?e.name:e.uuid,o=[];let c;switch(Dg[r.path]===Dg.weights?e.traverse(function(e){e.morphTargetInfluences&&o.push(e.name?e.name:e.uuid)}):o.push(s),Dg[r.path]){case Dg.weights:c=Td;break;case Dg.rotation:c=Rd;break;case Dg.position:case Dg.scale:c=Dd;break;default:c=1=... |
5,571 | 7c0592263f269c15ffb616da8482d362 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | la::copy | function | copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this} |
5,572 | 0b7d5424cf73c978c156b918932ac8c7 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Yu::fromJSON | function | static fromJSON(e){return new Yu(e.radius,e.detail)} |
5,573 | 30c8184c75994c6cb2cde98975804970 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | hg::getMaterialType | function | getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?ld:null} |
5,574 | a8e620138b789ec04c3e06b236f9ee6c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | _f::detectSupport | function | detectSupport(e){return!0===e.isWebGPURenderer?this.workerConfig={astcSupported:e.hasFeature("texture-compression-astc"),etc1Supported:e.hasFeature("texture-compression-etc1"),etc2Supported:e.hasFeature("texture-compression-etc2"),dxtSupported:e.hasFeature("texture-compression-bc"),bptcSupported:e.hasFeature("texture-c... |
5,575 | 18df8cb7228ce6ff4a3e7a2d8e372bf2 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | tp::_removeInactiveBinding | function | _removeInactiveBinding(e){const t=this._bindings,i=e.binding,n=i.rootNode.uuid,r=i.path,a=this._bindingsByRootAndName,s=a[n],o=t[t.length-1],c=e._cacheIndex;o._cacheIndex=c,t[c]=o,t.pop(),delete s[r],0===Object.keys(s).length&&delete a[n]} |
5,576 | 9cc9e7acb32fc2fb87ec4dbe72f3e795 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | ph::copy | function | copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this} |
5,577 | fecb7963e5d7f0badd62b52dcbac9bba | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Rp::constructor | function | constructor(e=10,t=16,i=8,n=64,r=4473924,a=8947848){r=new Kr(r),a=new Kr(a);const s=[],o=[];if(t>1)for(let i=0;i<t;i++){const n=i/t*(2*Math.PI),c=Math.sin(n)*e,l=Math.cos(n)*e;s.push(0,0,0),s.push(c,0,l);const h=1&i?r:a;o.push(h.r,h.g,h.b),o.push(h.r,h.g,h.b)}for(let t=0;t<i;t++){const c=1&t?r:a,l=e-e/i*t;for(let e=0;e... |
5,578 | 507f300ec144ebf7e8daa29d84dd015a | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | js | function | function js(e,t,i,n){const r={},a=new WeakMap;function s(e){const o=e.target;null!==o.index&&t.remove(o.index);for(const e in o.attributes)t.remove(o.attributes[e]);for(const e in o.morphAttributes){const i=o.morphAttributes[e];for(let e=0,n=i.length;e<n;e++)t.remove(i[e])}o.removeEventListener("dispose",s),delete r[o.... |
5,579 | 4ea6ab8a4daf6095879017f4f21e994f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ah::setGeometryAt | function | setGeometryAt(e,t){if(e>=this._geometryCount)throw new Error("BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);const i=this.geometry,n=null!==i.getIndex(),r=i.getIndex(),a=t.getIndex(),s=this._reservedRanges[e];if(n&&a.count>s.indexCount||t.attributes.position.count>s.vertexCount)throw new Error... |
5,580 | e483a94af3d2c2210c109e64965a8a4b | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | au::arc | function | arc(e,t,i,n,r,a){const s=this.currentPoint.x,o=this.currentPoint.y;return this.absarc(e+s,t+o,i,n,r,a),this} |
5,581 | 1f6d9ad608d5205f265d8edefab08705 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ts::toJSON | function | toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,null!==this.view&&(t.object.view=Object.assign({},this.view)),t} |
5,582 | fee5d8af6909c95ac26f23450abae333 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | jo | function | function jo(e,t){e.uniform2uiv(this.addr,t)} |
5,583 | f546f11628f139f41434337aefcb5c53 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | tc::setValue | function | setValue(e,t,i){const n=this.seq;for(let r=0,a=n.length;r!==a;++r){const a=n[r];a.setValue(e,t[a.id],i)}} |
5,584 | 6c42c8d40184d834651e1fc95725b7a1 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | en::makeScale | function | makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this} |
5,585 | dab01b745ab7afc97f83fa28bc9897e1 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | cr::extractRotation | function | extractRotation(e){const t=this.elements,i=e.elements,n=1/lr.setFromMatrixColumn(e,0).length(),r=1/lr.setFromMatrixColumn(e,1).length(),a=1/lr.setFromMatrixColumn(e,2).length();return t[0]=i[0]*n,t[1]=i[1]*n,t[2]=i[2]*n,t[3]=0,t[4]=i[4]*r,t[5]=i[5]*r,t[6]=i[6]*r,t[7]=0,t[8]=i[8]*a,t[9]=i[9]*a,t[10]=i[10]*a,t[11]=0,t[12... |
5,586 | 39f04a6f8987c529797961eddc5d8430 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | jr::closestPointToPoint | function | closestPointToPoint(e,t){const i=this.a,n=this.b,r=this.c;let a,s;kr.subVectors(n,i),Gr.subVectors(r,i),zr.subVectors(e,i);const o=kr.dot(zr),c=Gr.dot(zr);if(o<=0&&c<=0)return t.copy(i);Vr.subVectors(e,n);const l=kr.dot(Vr),h=Gr.dot(Vr);if(l>=0&&h<=l)return t.copy(n);const u=o*h-l*c;if(u<=0&&o>=0&&l<=0)return a=o/(o-l)... |
5,587 | 18605dafd05099df6af9bb43961a9815 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | tp::_activateAction | function | _activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){const t=(e._localRoot||this._root).uuid,i=e._clip.uuid,n=this._actionsByClip[i];this._bindAction(e,n&&n.knownActions[0]),this._addInactiveAction(e,i,t)}const t=e._propertyBindings;for(let e=0,i=t.length;e!==i;++e){const i=t[e];0===i.useCount++&&(t... |
5,588 | dcfeb9c16d31e29dd1123081102b0f04 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Gc | function | function Gc(e,t,i){const n=i.isWebGL2,r=new function(){let t=!1;const i=new Cn;let n=null;const r=new Cn(0,0,0,0);return{setMask:function(i){n===i||t||(e.colorMask(i,i,i,i),n=i)},setLocked:function(e){t=e},setClear:function(t,n,a,s,o){!0===o&&(t*=s,n*=s,a*=s),i.set(t,n,a,s),!1===r.equals(i)&&(e.clearColor(t,n,a,s),r.co... |
5,589 | d345bda99665a881eb320e5953badadd | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Cn::multiply | function | multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this} |
5,590 | 07fb8ab64365f0b0533a93a90b959295 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Bn::constructor | function | constructor(e=1,t=1,i=1,n={}){super(e,t,n),this.isWebGL3DRenderTarget=!0,this.depth=i,this.texture=new Tn(null,e,t,i),this.texture.isRenderTargetTexture=!0} |
5,591 | d5de290544ed78ce6a996bcdc117ede5 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ln::unproject | function | unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)} |
5,592 | 66ef42c6425a635b20ebc2b9cb0c42cf | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Ln::fromBufferAttribute | function | fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this} |
5,593 | 943c5c9cc1da342032ef1ba0fbe54b41 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | qi | function | function qi(e,t,i){return(1-i)*e+i*t} |
5,594 | b9ffbf49d0abeb1fd4097fbae3ab281b | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | br::toArray | function | toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e} |
5,595 | f229d0d8e87e77348b2af14aaa48686c | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | Hc::k | function | function k(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement?(h.width=e.naturalWidth||e.width,h.height=e.naturalHeight||e.height):"undefined"!=typeof VideoFrame&&e instanceof VideoFrame?(h.width=e.displayWidth,h.height=e.displayHeight):(h.width=e.width,h.height=e.height),h} |
5,596 | c7b2ba467a34779d09a838e73f1d9ec2 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | zu::area | function | static area(e){const t=e.length;let i=0;for(let n=t-1,r=0;r<t;n=r++)i+=e[n].x*e[r].y-e[r].x*e[n].y;return.5*i} |
5,597 | 673cde3a22de63a0df7150eef7c8675f | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | xd::evaluate | function | evaluate(e){const t=this.parameterPositions;let i=this._cachedIndex,n=t[i],r=t[i-1];e:{t:{let a;i:{n:if(!(e<n)){for(let a=i+2;;){if(void 0===n){if(e<r)break n;return i=t.length,this._cachedIndex=i,this.copySampleValue_(i-1)}if(i===a)break;if(r=n,n=t[++i],e<n)break t}a=t.length;break i}if(!(e>=r)){const s=t[1];e<s&&(i=2... |
5,598 | eefc558eb7612e3b69d73ccedee468c5 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | vp::update | function | update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);const e=this.... |
5,599 | b9568390100c790bc5623781e7e21fc4 | swh:1:cnt:be74c3579b5363eb79f06cff064cd3a615bd1ecc;origin=https://gerrit.wikimedia.org/r/mediawiki/extensions/3D.git;lines=2-2/ | c74be198cc8f55ea5c6bd42cc70f0c8872bd4ae2 | 3D | deployed | modules/lib/three/three.js | zg::loadTexture | function | loadTexture(e){const t=this.json,i=this.options,n=t.textures[e].source,r=t.images[n];let a=this.textureLoader;if(r.uri){const e=i.manager.getHandler(r.uri);null!==e&&(a=e)}return this.loadTextureImage(e,n,a)} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.