THREE.Matrix4.makeInvert3x3=function(a){varb=a.m33,c=b.m,d=a.n33*a.n22-a.n32*a.n23,e=-a.n33*a.n21+a.n31*a.n23,g=a.n32*a.n21-a.n31*a.n22,f=-a.n33*a.n12+a.n32*a.n13,h=a.n33*a.n11-a.n31*a.n13,j=-a.n32*a.n11+a.n31*a.n12,i=a.n23*a.n12-a.n22*a.n13,o=-a.n23*a.n11+a.n21*a.n13,m=a.n22*a.n11-a.n21*a.n12,a=a.n11*d+a.n21*f+a.n31*i;if(a==0)throw"matrix not invertible";a=1/a;c[0]=a*d;c[1]=a*e;c[2]=a*g;c[3]=a*f;c[4]=a*h;c[5]=a*j;c[6]=a*i;c[7]=a*o;c[8]=a*m;returnb};
THREE.Matrix4.makeInvert3x3=function(a){varb=a.m33,c=b.m,d=a.n33*a.n22-a.n32*a.n23,f=-a.n33*a.n21+a.n31*a.n23,g=a.n32*a.n21-a.n31*a.n22,e=-a.n33*a.n12+a.n32*a.n13,h=a.n33*a.n11-a.n31*a.n13,j=-a.n32*a.n11+a.n31*a.n12,i=a.n23*a.n12-a.n22*a.n13,m=-a.n23*a.n11+a.n21*a.n13,p=a.n22*a.n11-a.n21*a.n12,a=a.n11*d+a.n21*e+a.n31*i;a==0&&console.error("THREE.Matrix4.makeInvert3x3: Matrix not invertible.");a=1/a;c[0]=a*d;c[1]=a*f;c[2]=a*g;c[3]=a*e;c[4]=a*h;c[5]=a*j;c[6]=a*i;c[7]=a*m;c[8]=a*p;returnb};
c}};THREE.Mesh.prototype=newTHREE.Object3D;THREE.Mesh.prototype.constructor=THREE.Mesh;THREE.Mesh.prototype.supr=THREE.Object3D.prototype;THREE.Mesh.prototype.getMorphTargetIndexByName=function(a){if(this.morphTargetDictionary[a]!==void0)returnthis.morphTargetDictionary[a];console.log("THREE.Mesh.getMorphTargetIndexByName: morph target "+a+" does not exist. Returning 0.");return0};
c}};THREE.Mesh.prototype=newTHREE.Object3D;THREE.Mesh.prototype.constructor=THREE.Mesh;THREE.Mesh.prototype.supr=THREE.Object3D.prototype;THREE.Mesh.prototype.getMorphTargetIndexByName=function(a){if(this.morphTargetDictionary[a]!==void0)returnthis.morphTargetDictionary[a];console.log("THREE.Mesh.getMorphTargetIndexByName: morph target "+a+" does not exist. Returning 0.");return0};
THREE.Matrix4.makeInvert3x3=function(a){varb=a.m33,c=b.m,d=a.n33*a.n22-a.n32*a.n23,e=-a.n33*a.n21+a.n31*a.n23,g=a.n32*a.n21-a.n31*a.n22,f=-a.n33*a.n12+a.n32*a.n13,h=a.n33*a.n11-a.n31*a.n13,j=-a.n32*a.n11+a.n31*a.n12,i=a.n23*a.n12-a.n22*a.n13,l=-a.n23*a.n11+a.n21*a.n13,k=a.n22*a.n11-a.n21*a.n12,a=a.n11*d+a.n21*f+a.n31*i;if(a==0)throw"matrix not invertible";a=1/a;c[0]=a*d;c[1]=a*e;c[2]=a*g;c[3]=a*f;c[4]=a*h;c[5]=a*j;c[6]=a*i;c[7]=a*l;c[8]=a*k;returnb};
THREE.Matrix4.makeInvert3x3=function(a){varb=a.m33,c=b.m,d=a.n33*a.n22-a.n32*a.n23,e=-a.n33*a.n21+a.n31*a.n23,g=a.n32*a.n21-a.n31*a.n22,f=-a.n33*a.n12+a.n32*a.n13,h=a.n33*a.n11-a.n31*a.n13,k=-a.n32*a.n11+a.n31*a.n12,i=a.n23*a.n12-a.n22*a.n13,j=-a.n23*a.n11+a.n21*a.n13,m=a.n22*a.n11-a.n21*a.n12,a=a.n11*d+a.n21*f+a.n31*i;a==0&&console.error("THREE.Matrix4.makeInvert3x3: Matrix not invertible.");a=1/a;c[0]=a*d;c[1]=a*e;c[2]=a*g;c[3]=a*f;c[4]=a*h;c[5]=a*k;c[6]=a*i;c[7]=a*j;c[8]=a*m;returnb};
THREE.Matrix4.makeInvert3x3=function(a){varb=a.m33,c=b.m,d=a.n33*a.n22-a.n32*a.n23,e=-a.n33*a.n21+a.n31*a.n23,g=a.n32*a.n21-a.n31*a.n22,f=-a.n33*a.n12+a.n32*a.n13,h=a.n33*a.n11-a.n31*a.n13,j=-a.n32*a.n11+a.n31*a.n12,m=a.n23*a.n12-a.n22*a.n13,n=-a.n23*a.n11+a.n21*a.n13,k=a.n22*a.n11-a.n21*a.n12,a=a.n11*d+a.n21*f+a.n31*m;if(a==0)throw"matrix not invertible";a=1/a;c[0]=a*d;c[1]=a*e;c[2]=a*g;c[3]=a*f;c[4]=a*h;c[5]=a*j;c[6]=a*m;c[7]=a*n;c[8]=a*k;returnb};
THREE.Matrix4.makeInvert3x3=function(a){varb=a.m33,c=b.m,d=a.n33*a.n22-a.n32*a.n23,e=-a.n33*a.n21+a.n31*a.n23,g=a.n32*a.n21-a.n31*a.n22,f=-a.n33*a.n12+a.n32*a.n13,h=a.n33*a.n11-a.n31*a.n13,i=-a.n32*a.n11+a.n31*a.n12,n=a.n23*a.n12-a.n22*a.n13,o=-a.n23*a.n11+a.n21*a.n13,m=a.n22*a.n11-a.n21*a.n12,a=a.n11*d+a.n21*f+a.n31*n;a==0&&console.error("THREE.Matrix4.makeInvert3x3: Matrix not invertible.");a=1/a;c[0]=a*d;c[1]=a*e;c[2]=a*g;c[3]=a*f;c[4]=a*h;c[5]=a*i;c[6]=a*n;c[7]=a*o;c[8]=a*m;returnb};
"M "+b.positionScreen.x+""+b.positionScreen.y+" L "+c.positionScreen.x+""+c.positionScreen.y+" L "+h.positionScreen.x+","+h.positionScreen.y+"z");iinstanceofTHREE.MeshBasicMaterial?r.hex=i.color.hex:iinstanceofTHREE.MeshLambertMaterial?E?(l.r=z.r,l.g=z.g,l.b=z.b,a(k,j,l),r.r=Math.max(0,Math.min(i.color.r*l.r,1)),r.g=Math.max(0,Math.min(i.color.g*l.g,1)),r.b=Math.max(0,Math.min(i.color.b*l.b,1)),r.updateHex()):r.hex=i.color.hex:iinstanceofTHREE.MeshDepthMaterial?(v=1-i.__2near/(i.__farPlusNear-
"M "+b.positionScreen.x+""+b.positionScreen.y+" L "+c.positionScreen.x+""+c.positionScreen.y+" L "+h.positionScreen.x+","+h.positionScreen.y+"z");iinstanceofTHREE.MeshBasicMaterial?r.hex=i.color.hex:iinstanceofTHREE.MeshLambertMaterial?E?(l.r=z.r,l.g=z.g,l.b=z.b,a(k,j,l),r.r=Math.max(0,Math.min(i.color.r*l.r,1)),r.g=Math.max(0,Math.min(i.color.g*l.g,1)),r.b=Math.max(0,Math.min(i.color.b*l.b,1)),r.updateHex()):r.hex=i.color.hex:iinstanceofTHREE.MeshDepthMaterial?(v=1-i.__2near/(i.__farPlusNear-
j,k,o){f.data.vertices+=4;f.data.faces++;B=d(Q++);B.setAttribute("d","M "+b.positionScreen.x+""+b.positionScreen.y+" L "+c.positionScreen.x+""+c.positionScreen.y+" L "+h.positionScreen.x+","+h.positionScreen.y+" L "+i.positionScreen.x+","+i.positionScreen.y+"z");kinstanceofTHREE.MeshBasicMaterial?r.hex=k.color.hex:kinstanceofTHREE.MeshLambertMaterial?E?(l.r=z.r,l.g=z.g,l.b=z.b,a(o,j,l),r.r=Math.max(0,Math.min(k.color.r*l.r,1)),r.g=Math.max(0,Math.min(k.color.g*l.g,1)),r.b=Math.max(0,Math.min(k.color.b*
j,k,o){f.data.vertices+=4;f.data.faces++;B=d(Q++);B.setAttribute("d","M "+b.positionScreen.x+""+b.positionScreen.y+" L "+c.positionScreen.x+""+c.positionScreen.y+" L "+h.positionScreen.x+","+h.positionScreen.y+" L "+i.positionScreen.x+","+i.positionScreen.y+"z");kinstanceofTHREE.MeshBasicMaterial?r.hex=k.color.hex:kinstanceofTHREE.MeshLambertMaterial?E?(l.r=z.r,l.g=z.g,l.b=z.b,a(o,j,l),r.r=Math.max(0,Math.min(k.color.r*l.r,1)),r.g=Math.max(0,Math.min(k.color.g*l.g,1)),r.b=Math.max(0,Math.min(k.color.b*
THREE.Matrix4.makeInvert3x3=function(b){vard=b.m33,e=d.m,f=b.n33*b.n22-b.n32*b.n23,g=-b.n33*b.n21+b.n31*b.n23,i=b.n32*b.n21-b.n31*b.n22,h=-b.n33*b.n12+b.n32*b.n13,j=b.n33*b.n11-b.n31*b.n13,k=-b.n32*b.n11+b.n31*b.n12,o=b.n23*b.n12-b.n22*b.n13,r=-b.n23*b.n11+b.n21*b.n13,n=b.n22*b.n11-b.n21*b.n12,b=b.n11*f+b.n21*h+b.n31*o;if(b==0)throw"matrix not invertible";b=1/b;e[0]=b*f;e[1]=b*g;e[2]=b*i;e[3]=b*h;e[4]=b*j;e[5]=b*k;e[6]=b*o;e[7]=b*r;e[8]=b*n;returnd};
THREE.Matrix4.makeInvert3x3=function(b){vard=b.m33,e=d.m,f=b.n33*b.n22-b.n32*b.n23,g=-b.n33*b.n21+b.n31*b.n23,i=b.n32*b.n21-b.n31*b.n22,h=-b.n33*b.n12+b.n32*b.n13,j=b.n33*b.n11-b.n31*b.n13,k=-b.n32*b.n11+b.n31*b.n12,o=b.n23*b.n12-b.n22*b.n13,n=-b.n23*b.n11+b.n21*b.n13,q=b.n22*b.n11-b.n21*b.n12,b=b.n11*f+b.n21*h+b.n31*o;b==0&&console.error("THREE.Matrix4.makeInvert3x3: Matrix not invertible.");b=1/b;e[0]=b*f;e[1]=b*g;e[2]=b*i;e[3]=b*h;e[4]=b*j;e[5]=b*k;e[6]=b*o;e[7]=b*n;e[8]=b*q;returnd};