THREE.Mesh.prototype.getMorphTargetIndexByName=function(a){if(void0!==this.morphTargetDictionary[a])returnthis.morphTargetDictionary[a];console.log("THREE.Mesh.getMorphTargetIndexByName: morph target "+a+" does not exist. Returning 0.");return0};THREE.Mesh.prototype.clone=function(a){void0===a&&(a=newTHREE.Mesh(this.geometry,this.material));THREE.Object3D.prototype.clone.call(this,a);returna};THREE.Bone=function(a){THREE.Object3D.call(this);this.skin=a;this.skinMatrix=newTHREE.Matrix4};THREE.Bone.prototype=Object.create(THREE.Object3D.prototype);THREE.Bone.prototype.update=function(a,b){this.matrixAutoUpdate&&(b|=this.updateMatrix());if(b||this.matrixWorldNeedsUpdate)a?this.skinMatrix.multiplyMatrices(a,this.matrix):this.skinMatrix.copy(this.matrix),this.matrixWorldNeedsUpdate=!1,b=!0;varc,d=this.children.length;for(c=0;c<d;c++)this.children[c].update(this.skinMatrix,b)};THREE.SkinnedMesh=function(a,b,c){THREE.Mesh.call(this,a,b);this.useVertexTexture=void0!==c?c:!0;this.identityMatrix=newTHREE.Matrix4;this.bones=[];this.boneMatrices=[];vard,e,f;if(this.geometry&&void0!==this.geometry.bones){for(a=0;a<this.geometry.bones.length;a++)c=this.geometry.bones[a],d=c.pos,e=c.rotq,f=c.scl,b=this.addBone(),b.name=c.name,b.position.set(d[0],d[1],d[2]),b.quaternion.set(e[0],e[1],e[2],e[3]),b.useQuaternion=!0,void0!==f?b.scale.set(f[0],f[1],f[2]):b.scale.set(1,1,1);for(a=