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 |
|---|---|---|---|---|---|---|---|---|---|
6,100 | d4e7729807e832332ad839c09066b642 | 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::setValues | function | setValues(e){if(void 0!==e)for(const t in e){const i=e[t];if(void 0===i){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const n=this[t];void 0!==n?n&&n.isColor?n.set(i):n&&n.isVector3&&i&&i.isVector3?n.copy(i):this[t]=i:console.warn(`THREE.Material: '${t}' is not a property of THREE.$... |
6,101 | 02c2f4b7432ce0219f149b4d6938d2f6 | 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 | hs::intersectsLine | function | intersectsLine(e){const t=this.distanceToPoint(e.start),i=this.distanceToPoint(e.end);return t<0&&i>0||i<0&&t>0} |
6,102 | d4f76f225bef6f2e6ac8396617a2cfe6 | 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::constructor::ze | function | function ze(){Ve.start()} |
6,103 | c0acacc10e4ba5d87a7337689affecb8 | 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::sub | function | sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this} |
6,104 | 57732db53e1e4d66c6137bfe6f44e0ca | 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::angle | function | angle(){return Math.atan2(-this.y,-this.x)+Math.PI} |
6,105 | 07c497d1acb65acbeb63c3dc07ea5c20 | 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::order | function | set order(e){this._order=e,this._onChangeCallback()} |
6,106 | 49ea40d99d274e355ad5e9d8bdc09d73 | 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 | Ur::onAfterShadow | function | onAfterShadow(){} |
6,107 | 8459606bbf6b88b99cdccd65e19e6db6 | 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::constructor | function | constructor(e=new Ln,t=new Ln,i=new Ln){this.a=e,this.b=t,this.c=i} |
6,108 | 534055eff17c3efa1afb4d749276db39 | 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::disconnect | function | disconnect(){super.disconnect(),this.panner.disconnect(this.gain)} |
6,109 | fe8e9e69ce3f488fc685ffcd33b3f2c9 | 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::loadGeometries::r | function | function r(e){return i[tg.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(e,t).then(function(i){return Vg(i,e,t)})} |
6,110 | 053e069e459db767efeb57b0310b1764 | 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 | Ur::worldToLocal | function | worldToLocal(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(yr.copy(this.matrixWorld).invert())} |
6,111 | 05c0cf9db6a77c1c1a9f64151cacbcd2 | 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 | Fh::constructor | function | constructor(){this.type="Curve",this.arcLengthDivisions=200} |
6,112 | 51744f3dc866f7450315d021343e4500 | 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 | Ur::lookAt | function | lookAt(e,t,i){e.isVector3?Cr.copy(e):Cr.set(e,t,i);const n=this.parent;this.updateWorldMatrix(!0,!1),Ir.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?yr.lookAt(Ir,Cr,this.up):yr.lookAt(Cr,Ir,this.up),this.quaternion.setFromRotationMatrix(yr),n&&(yr.extractRotation(n.matrixWorld),xr.setFromRotation... |
6,113 | 65d12259f596c00706ea091ca45b6147 | 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::constructor::et | function | function et(e,t){const i=ie.get(e);i.outputColorSpace=t.outputColorSpace,i.batching=t.batching,i.instancing=t.instancing,i.instancingColor=t.instancingColor,i.instancingMorph=t.instancingMorph,i.skinning=t.skinning,i.morphTargets=t.morphTargets,i.morphNormals=t.morphNormals,i.morphColors=t.morphColors,i.morphTargetsCou... |
6,114 | 2343d1c471e994911b1994e648652014 | 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::project | function | project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)} |
6,115 | 6c12b807c167fba19ea35ae7c38f85fd | 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::round | function | round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this} |
6,116 | 0254093228bf5eed7f0f4da2ca5a0a38 | 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::length | function | length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)} |
6,117 | df2b082b9534ffc0d08d26e750111b9c | 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::extractBasis | function | extractBasis(e,t,i){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this} |
6,118 | 5832ce3cc36c60a8a804cecfd0e32a34 | 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::fromEquirectangular | function | fromEquirectangular(e,t=null){return this._fromTexture(e,t)} |
6,119 | c02af563ac7ae38b8866574a3e609381 | 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 | So | function | function So(e,t){const i=this.cache;if(void 0!==t.x)i[0]===t.x&&i[1]===t.y||(e.uniform2ui(this.addr,t.x,t.y),i[0]=t.x,i[1]=t.y);else{if(uo(i,t))return;e.uniform2uiv(this.addr,t),Ao(i,t)}} |
6,120 | 2657ce59a1234966609afd9284a2da61 | 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 | Ro | function | function Ro(e,t,i){const n=this.cache,r=i.allocateTextureUnit();n[0]!==r&&(e.uniform1i(this.addr,r),n[0]=r),i.setTexture3D(t||no,r)} |
6,121 | 08a4707e8ef83eb00e6a2ce45d6fa349 | 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 | gg::loadTexture | function | loadTexture(e){const t=this.name,i=this.parser,n=i.json,r=n.textures[e];if(!r.extensions||!r.extensions[t])return null;const a=r.extensions[t],s=n.images[a.source];let o=i.textureLoader;if(s.uri){const e=i.options.manager.getHandler(s.uri);null!==e&&(o=e)}return this.detectSupport().then(function(r){if(r)return i.loadT... |
6,122 | 20b5f7985b8387f2776a65f1b521ee5e | 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::getMatrixAt | function | getMatrixAt(e,t){t.fromArray(this.instanceMatrix.array,16*e)} |
6,123 | 969588a2bd25428b4661936848405825 | 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 | hs::projectPoint | function | projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))} |
6,124 | 0404d9b87d09ee44791f1c920dd719a3 | 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 | Cc::getVertexShaderID | function | getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id} |
6,125 | 3bc4550077d11d3e584515f9839b6ad6 | 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::getPoint | function | getPoint(e,t=new Ln){const i=t,n=this.points,r=n.length,a=(r-(this.closed?0:1))*e;let s,o,c=Math.floor(a),l=a-c;this.closed?c+=c>0?0:(Math.floor(Math.abs(c)/r)+1)*r:0===l&&c===r-1&&(c=r-2,l=1),this.closed||c>0?s=n[(c-1)%r]:(Hh.subVectors(n[0],n[1]).add(n[0]),s=Hh);const h=n[c%r],u=n[(c+1)%r];if(this.closed||c+2<r?o=n[(... |
6,126 | 59db497d613656c2bf5e4b08d84dbe24 | 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::copyAt | function | copyAt(e,t,i){e*=this.itemSize,i*=t.itemSize;for(let n=0,r=this.itemSize;n<r;n++)this.array[e+n]=t.array[i+n];return this} |
6,127 | 01a1809f12a1ddec61832b4350f69d9c | 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::constructor | function | constructor(e,t,i,n,r,a,s,o,c){en.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==e&&this.set(e,t,i,n,r,a,s,o,c)} |
6,128 | 2f79f585309a5682326dbd8d3ab420fd | 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::applyMatrix3 | function | applyMatrix3(e){if(2===this.itemSize)for(let t=0,i=this.count;t<i;t++)ca.fromBufferAttribute(this,t),ca.applyMatrix3(e),this.setXY(t,ca.x,ca.y);else if(3===this.itemSize)for(let t=0,i=this.count;t<i;t++)oa.fromBufferAttribute(this,t),oa.applyMatrix3(e),this.setXYZ(t,oa.x,oa.y,oa.z);return this} |
6,129 | 9fa1977cd6caf00e9d4b4ced3b51ed15 | 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 | ys::f | function | function f(t,i){t.getRGB(_s,Ya(e)),n.buffers.color.setClear(_s.r,_s.g,_s.b,i,s)} |
6,130 | d5a05cf0026e18b0997bc8d8253d84b9 | 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 | yl | function | function yl(e,t,i,n,r,a){Al.subVectors(e,i).addScalar(.5).multiply(n),void 0!==r?(pl.x=a*Al.x-r*Al.y,pl.y=r*Al.x+a*Al.y):pl.copy(Al),e.copy(t),e.x+=pl.x,e.y+=pl.y,e.applyMatrix4(gl)} |
6,131 | 8c6f19e16c686e75aafaad0a0cf39fac | 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 | sA::updateMatrices | function | updateMatrices(e,t=0){const i=this.camera,n=this.matrix,r=e.distance||i.far;r!==i.far&&(i.far=r,i.updateProjectionMatrix()),rA.setFromMatrixPosition(e.matrixWorld),i.position.copy(rA),aA.copy(i.position),aA.add(this._cubeDirections[t]),i.up.copy(this._cubeUps[t]),i.lookAt(aA),i.updateMatrixWorld(),n.makeTranslation(-rA... |
6,132 | 3dfd59f05f1755ba2cadeed8b7b23f0c | 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 | Ml::constructor | function | constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0} |
6,133 | 7123e4af1a0931f02bd1c91f94de3ea8 | 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::De | function | function De(t){t!==a?(Se(e.CULL_FACE),t!==ue&&(t===s?e.cullFace(e.BACK):t===o?e.cullFace(e.FRONT):e.cullFace(e.FRONT_AND_BACK))):we(e.CULL_FACE),ue=t} |
6,134 | 78f95e2a1eda14c43a7fd5ba50ec50f5 | 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 | $l::constructor | function | constructor(){this.index=0,this.pool=[],this.list=[]} |
6,135 | ae04a7c5aedb63d2a814bc02a9ed2079 | 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::intersectsTriangle | function | intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Wn),jn.subVectors(this.max,Wn),On.subVectors(e.a,Wn),kn.subVectors(e.b,Wn),Gn.subVectors(e.c,Wn),Hn.subVectors(kn,On),zn.subVectors(Gn,kn),Vn.subVectors(On,Gn);let t=[0,-Hn.z,Hn.y,0,-zn.z,zn.y,0,-Vn.z,Vn.y,Hn.z,0,-Hn.x,zn.z,0,-zn.x,Vn.z,0,-Vn.x,-Hn.y,Hn.x,... |
6,136 | c324898d8d1c4817bfcb9f2c6cdf0156 | 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::add | function | add(e){this.curves.push(e)} |
6,137 | 7d1d45416d14d6950a8107ef640ecce6 | 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 | Lu | function | function Lu(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){let i=e;do{if(i.i!==e.i&&i.next.i!==e.i&&i.i!==t.i&&i.next.i!==t.i&&Uu(i,i.next,e,t))return!0;i=i.next}while(i!==e);return!1}(e,t)&&(Fu(e,t)&&Fu(t,e)&&function(e,t){let i=e,n=!1;const r=(e.x+t.x)/2,a=(e.y+t.y)/2;do{i.y>a!=i.next.y>a&&i.next.y!==i.y&... |
6,138 | f2f638e98a489e02bad984fbc67ce853 | 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 | Md::shift | function | shift(e){if(0!==e){const t=this.times;for(let i=0,n=t.length;i!==n;++i)t[i]+=e}return this} |
6,139 | 0b80f9529c99e9b55b4d6fb80417014b | 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 | VA::_lerpAdditive | function | _lerpAdditive(e,t,i,n,r){for(let a=0;a!==r;++a){const r=t+a;e[r]=e[r]+e[i+a]*n}} |
6,140 | 081e128759b495eb8b9aea75b04df3aa | 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::add | function | add(){const e=this._objects,t=this._indicesByUUID,i=this._paths,n=this._parsedPaths,r=this._bindings,a=r.length;let s,o=e.length,c=this.nCachedObjects_;for(let l=0,h=arguments.length;l!==h;++l){const h=arguments[l],u=h.uuid;let d=t[u];if(void 0===d){d=o++,t[u]=d,e.push(h);for(let e=0,t=a;e!==t;++e)r[e].push(new KA(h,i[... |
6,141 | cde552c5a836062d4ba0bbcf8041a37e | 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::syncWith | function | syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()} |
6,142 | f7705442ef925298db809cac62db0843 | 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::applyNormalMatrix | function | applyNormalMatrix(e){for(let t=0,i=this.count;t<i;t++)sl.fromBufferAttribute(this,t),sl.applyNormalMatrix(e),this.setXYZ(t,sl.x,sl.y,sl.z);return this} |
6,143 | 709225eb32105caa328c033129180f56 | 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 | Nl::normalizeSkinWeights | function | normalizeSkinWeights(){const e=new Cn,t=this.geometry.attributes.skinWeight;for(let i=0,n=t.count;i<n;i++){e.fromBufferAttribute(t,i);const n=1/e.manhattanLength();n!==1/0?e.multiplyScalar(n):e.set(1,0,0,0),t.setXYZW(i,e.x,e.y,e.z,e.w)}} |
6,144 | 68d0df32dcf604fdd0543895a71cee93 | 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 | Zh::getTangent | function | getTangent(e,t=new $i){return t.subVectors(this.v2,this.v1).normalize()} |
6,145 | f92c477a6b17169c29034baea1880d34 | 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::width | function | get width(){return this.x} |
6,146 | c1e767bd914e79c27e15875910059828 | 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 | nn | function | function nn(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1} |
6,147 | 18b9c96254a78dcab6f9c411073f5831 | 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::setFromAttributeAndIndices | function | setFromAttributeAndIndices(e,t,i,n){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,i),this.c.fromBufferAttribute(e,n),this} |
6,148 | c50e08536b637cdba885ce8fb766188c | 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 | cu::copy | function | copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this} |
6,149 | d95f2239890f77517d5dfc858afe4d72 | 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::constructor | function | constructor(e=1,t=0){const i=(1+Math.sqrt(5))/2,n=1/i;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-n,-i,0,-n,i,0,n,-i,0,n,i,-n,-i,0,-n,i,0,n,-i,0,n,i,0,-i,0,-n,i,0,-n,-i,0,n,i,0,n],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,1... |
6,150 | 5389f2a935f5f3fbc609bd668bea54f0 | 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 | Xu::fromJSON | function | static fromJSON(e){return new Xu(e.radius,e.detail)} |
6,151 | 1802820011cb78907a39b919e00398c4 | 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 | Md::optimize | function | optimize(){const e=this.times.slice(),t=this.values.slice(),i=this.getValueSize(),n=this.getInterpolation()===Dt,r=e.length-1;let a=1;for(let s=1;s<r;++s){let r=!1;const o=e[s];if(o!==e[s+1]&&(1!==s||o!==e[0]))if(n)r=!0;else{const e=s*i,n=e-i,a=e+i;for(let s=0;s!==i;++s){const i=t[e+s];if(i!==t[n+s]||i!==t[a+s]){r=!0;b... |
6,152 | b58f3c93ffd02d51732b15d6a05155ff | 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 | KA::_setValue_direct_setMatrixWorldNeedsUpdate | function | _setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0} |
6,153 | f9053e5b5f860ae7609698d83304c548 | 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 | Gh | function | function Gh(){let e=0,t=0,i=0,n=0;function r(r,a,s,o){e=r,t=s,i=-3*r+3*a-2*s-o,n=2*r-2*a+s+o}return{initCatmullRom:function(e,t,i,n,a){r(t,i,a*(i-e),a*(n-t))},initNonuniformCatmullRom:function(e,t,i,n,a,s,o){let c=(t-e)/a-(i-e)/(a+s)+(i-t)/s,l=(i-t)/s-(n-t)/(s+o)+(n-i)/o;c*=s,l*=s,r(t,i,c,l)},calc:function(r){const a=r... |
6,154 | 8de85d57e2f239e9f208dffd8125c590 | 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::init | function | init(){if(!this.transcoderPending){const e=new Hd(this.manager);e.setPath(this.transcoderPath),e.setWithCredentials(this.withCredentials);const t=e.loadAsync("basis_transcoder.js"),i=new Hd(this.manager);i.setPath(this.transcoderPath),i.setResponseType("arraybuffer"),i.setWithCredentials(this.withCredentials);const n=i... |
6,155 | 8ff3da5f42441c8d28abd46c0d35151a | 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::getAverageFrequency | function | getAverageFrequency(){let e=0;const t=this.getFrequencyData();for(let i=0;i<t.length;i++)e+=t[i];return e/t.length} |
6,156 | 3afd2bcedf2bafe3294da6a16a3704eb | 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::constructor | function | constructor(e,t=16776960){const i=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),n=new Ma;n.setIndex(new la(i,1)),n.setAttribute("position",new ba([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(n,new ph({color:t,toneMapped:!1})),this.box=e,this.type="Box3Helper",this.geometr... |
6,157 | 3f3f19a5b149e5c9d8338a9b26e91b24 | 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::makeOrthographic | function | makeOrthographic(e,t,i,n,r,a,s=Qi){const o=this.elements,c=1/(t-e),l=1/(i-n),h=1/(a-r),u=(t+e)*c,d=(i+n)*l;let A,p;if(s===Qi)A=(a+r)*h,p=-2*h;else{if(s!==Fi)throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);A=r*h,p=-1*h}return o[0]=2*c,o[4]=0,o[8]=0,o[12]=-u,o[1]=0,o[5]=2*l,o[9]=0,o[13]... |
6,158 | 575e3a3c36d7fd5cca687eefe831121b | 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 | ud::constructor | function | constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new Kr(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Kr(0),this.emissiveIntensity=1,this.emissiveMap=null,t... |
6,159 | d5663207a90774ddae906a6100b435e4 | 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 | tu::fromJSON | function | fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this} |
6,160 | f6ac01f4ae9aa2bd27780442a1233b8d | 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::setColorAt | function | setColorAt(e,t){null===this.instanceColor&&(this.instanceColor=new Hl(new Float32Array(3*this.instanceMatrix.count),3)),t.toArray(this.instanceColor.array,3*e)} |
6,161 | 8db717518a2a472878cca4f9c52a2369 | 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::floor | function | floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this} |
6,162 | bffecfa66c4d38e7200a9dcdc225438c | 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::setPosition | function | setPosition(e,t,i){const n=this.elements;return e.isVector3?(n[12]=e.x,n[13]=e.y,n[14]=e.z):(n[12]=e,n[13]=t,n[14]=i),this} |
6,163 | bedfeed304044f8a1612ad0fb2882f5f | 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 | Ws::i | function | function i(i){if(void 0!==t[i])return t[i];let n;switch(i){case"WEBGL_depth_texture":n=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":n=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtens... |
6,164 | 08359833d5b5f3985ec85ba863491b88 | 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 | ju::constructor::a | function | function a(e){const a=[],s=void 0!==t.curveSegments?t.curveSegments:12,o=void 0!==t.steps?t.steps:1,c=void 0!==t.depth?t.depth:1;let l=void 0===t.bevelEnabled||t.bevelEnabled,h=void 0!==t.bevelThickness?t.bevelThickness:.2,u=void 0!==t.bevelSize?t.bevelSize:h-.1,d=void 0!==t.bevelOffset?t.bevelOffset:0,A=void 0!==t.bev... |
6,165 | efe989cfd8ad1b6f6570a4ff5cc96744 | 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 | ju::constructor::a::Q | function | function Q(e,t,i){a.push(e),a.push(t),a.push(i)} |
6,166 | f5c7e60bab7bdadaf19348373b6a1138 | 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::_lendAction | function | _lendAction(e){const t=this._actions,i=e._cacheIndex,n=this._nActiveActions++,r=t[n];e._cacheIndex=n,t[n]=e,r._cacheIndex=i,t[i]=r} |
6,167 | d8b31bab55a1f68edb20eb48981e1649 | 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 | sp::setCount | function | setCount(e){return this.count=e,this} |
6,168 | 4340ff70c81161143306e50ea919cd78 | 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 | pp::intersect | function | intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this} |
6,169 | 21e5d44ac742c0b5a4e89225866f3ded | 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::getIndex | function | getIndex(){return this.index} |
6,170 | 5e87a20203add2506fc8bffa272629a3 | 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::setDrawRange | function | setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t} |
6,171 | 12e96886f5de0e669caa3104b0a1524a | 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 | Nl::copy | function | copy(e,t){return super.copy(e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,null!==e.boundingBox&&(this.boundingBox=e.boundingBox.clone()),null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),this} |
6,172 | d3b82999640ad16e8219b3b4bd0475be | 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::setY | function | setY(e){return this.y=e,this} |
6,173 | a26bbd5c35d96f013569b818704439b7 | 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::equals | function | equals(e){const t=this.elements,i=e.elements;for(let e=0;e<9;e++)if(t[e]!==i[e])return!1;return!0} |
6,174 | 22a29e38fea2383e8e8ad7d401773057 | 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::setFromBufferAttribute | function | setFromBufferAttribute(e){this.makeEmpty();for(let t=0,i=e.count;t<i;t++)this.expandByPoint(Qn.fromBufferAttribute(e,t));return this} |
6,175 | 55756bc432217565645b1a1fcd3f1fe0 | 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::intersectsPlane | function | intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius} |
6,176 | 248246254a2c1a9f1ae23ec60e96ee92 | 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::setViewOffset | function | setViewOffset(e,t,i,n,r,a){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=r,this.view.height=a,this.updateProjectionMatrix()... |
6,177 | 21ea2d35e25b3701c20989cf1000671f | 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::getLength | function | getLength(){const e=this.getCurveLengths();return e[e.length-1]} |
6,178 | aeac6cceaa9c322d6fe6ce9ab8cef421 | 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 | Cu | function | function Cu(e,t,i){let n=e;do{const r=n.prev,a=n.next.next;!Pu(r,a)&&Uu(r,n,n.next,a)&&Fu(r,a)&&Fu(a,r)&&(t.push(r.i/i|0),t.push(n.i/i|0),t.push(a.i/i|0),Gu(n),Gu(n.next),n=e=a),n=n.next}while(n!==e);return _u(n)} |
6,179 | 1cc5f10de7b5b5527624d42012304d42 | 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::_lendBinding | function | _lendBinding(e){const t=this._bindings,i=e._cacheIndex,n=this._nActiveBindings++,r=t[n];e._cacheIndex=n,t[n]=e,r._cacheIndex=i,t[i]=r} |
6,180 | 864ff72d88409a1e27de432eef0eaeab | 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 | As::copy | function | copy(e){const t=this.planes;for(let i=0;i<6;i++)t[i].copy(e.planes[i]);return this} |
6,181 | fa8f03d4b88a07d0edea84f5ec2d5c51 | 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::ellipse | function | ellipse(e,t,i,n,r,a,s,o){const c=this.currentPoint.x,l=this.currentPoint.y;return this.absellipse(e+c,t+l,i,n,r,a,s,o),this} |
6,182 | 4ee73954c984667d90f28907d2f6edac | 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::conjugate | function | conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this} |
6,183 | 37dbade1d7ae79f8aa516aa4a6b90c50 | 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 | Ur::applyQuaternion | function | applyQuaternion(e){return this.quaternion.premultiply(e),this} |
6,184 | 61eaa538d7aa8c026238493a3c80ae3d | 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::copySRGBToLinear | function | copySRGBToLinear(e){return this.r=gn(e.r),this.g=gn(e.g),this.b=gn(e.b),this} |
6,185 | 6cd93c0b93092cd1474fbb6a940e5ddb | 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::parseTextures::i | function | function i(e,t){return"number"==typeof e?e:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",e),t[e])} |
6,186 | 0f4d89788a5a14605a0786af287ab301 | 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::copy | function | copy(e){this.name=e.name,this.usage=e.usage;const t=e.uniforms;this.uniforms.length=0;for(let e=0,i=t.length;e<i;e++){const i=Array.isArray(t[e])?t[e]:[t[e]];for(let e=0;e<i.length;e++)this.uniforms.push(i[e].clone())}return this} |
6,187 | 8ba648bebd5f889935013d8325a51af7 | 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 | $p::constructor | function | constructor(e){super(e),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register(function(e){return new ag(e)}),this.register(function(e){return new pg(e)}),this.register(function(e){return new gg(e)}),this.register(function(e){return new fg(e)}),this.register(function(e... |
6,188 | 9c18453692af2037f167806c1eb2a357 | 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 | rg::constructor | function | constructor(e){this.parser=e,this.name=tg.KHR_MATERIALS_EMISSIVE_STRENGTH} |
6,189 | 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 | Ag::getMaterialType | function | getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?ld:null} |
6,190 | fc903bac8e7523db310cb95b56cdb2a5 | 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 | ua::constructor | function | constructor(e,t,i){super(new Uint8Array(e),t,i)} |
6,191 | 2595ab0baa817be4d61338383a136a6f | 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::setXY | function | setXY(e,t,i){return e*=this.itemSize,this.normalized&&(t=Ki(t,this.array),i=Ki(i,this.array)),this.array[e+0]=ra(t),this.array[e+1]=ra(i),this} |
6,192 | 36c7de081f8e3ccad2c9d645060f1584 | 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 | Va::constructor | function | constructor(e=new Ma,t=new ta){super(),this.isMesh=!0,this.type="Mesh",this.geometry=e,this.material=t,this.updateMorphTargets()} |
6,193 | b5f095be56c6b078cdd47388e35d63d2 | 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::fromArray | function | fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this} |
6,194 | cc0dddb038abaf9170f1bb50e1dd57fc | 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::copy | function | copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this} |
6,195 | de37b7521f35857a99af04691835e570 | 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 | hs::equals | function | equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant} |
6,196 | a0276bfe9c839c3178b764f646826b99 | 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 | ju::constructor::a::G | function | function G(e){r.push(e.x),r.push(e.y)} |
6,197 | 876b67b25218bb0cccd135b4e3682e3b | 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::update | function | update(){const e=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const t=e.geometry.getAttribute("color");Sp.copy(this.light.color),wp.copy(this.light.groundColor);for(let e=0,i=t.count;e<i;e++){const n=e<i/2?Sp:wp;t.setXYZ(e,n.r,n.g,n.b)}t.needsUpdate=!0}this.light.updateWorldMatrix(!0... |
6,198 | d86d846518cdf0897a0267c38c4a5fc7 | 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::_initMemoryManager::total | function | get total(){return e._controlInterpolants.length} |
6,199 | b0159a0e2da0e6e5753db8617e4244d1 | 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::_update | function | _update(e,t,i,n){if(!this.enabled)return void this._updateWeight(e);const r=this._startTime;if(null!==r){const n=(e-r)*i;n<0||0===i?t=0:(this._startTime=null,t=i*n)}t*=this._updateTimeScale(e);const a=this._updateTime(t),s=this._updateWeight(e);if(s>0){const e=this._interpolants,t=this._propertyBindings;if(this.blendMo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.