32 lines
1.9 MiB
JavaScript
32 lines
1.9 MiB
JavaScript
|
|
||
|
// This is ammo.js, a port of Bullet Physics to JavaScript. zlib licensed.
|
||
|
var Ammo = function(Ammo) {
|
||
|
Ammo = Ammo || {};
|
||
|
|
||
|
var Module=typeof Ammo!=="undefined"?Ammo:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){var ret;ret=tryParseAsDataURI(filename);if(!ret){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);ret=nodeFS["readFileSync"](filename)}return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));process["on"]("unhandledRejection",(function(reason,p){process["exit"](1)}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])M
|
||
|
var asm=(/** @suppress {uselessCode} */ function(global,env,buffer) {
|
||
|
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=env.__ZTI30btGeneric6DofSpring2Constraint|0;var p=0;var q=0;var r=0;var s=0;var t=global.NaN,u=global.Infinity;var v=0,w=0,x=0,y=0,z=0.0;var A=0;var B=global.Math.floor;var C=global.Math.abs;var D=global.Math.sqrt;var E=global.Math.pow;var F=global.Math.cos;var G=global.Math.sin;var H=global.Math.tan;var I=global.Math.acos;var J=global.Math.asin;var K=global.Math.atan;var L=global.Math.atan2;var M=global.Math.exp;var N=global.Math.log;var O=global.Math.ceil;var P=global.Math.imul;var Q=global.Math.min;var R=global.Math.max;var S=global.Math.clz32;var T=env.abort;var U=env.assert;var V=env.enlargeMemory;var W=env.getTotalMemory;var X=env.abortOnCannotGrowMemory;var Y=env.invoke_di;var Z=env.invoke_did;var _=env.invoke_diidii;var $=env.invoke_diii;var aa=env.invoke_diiidii;var ba=env.invoke_diiii;var ca=env.invoke_diiiii;var da=env.invoke_diiiiiiii;var ea=env.invoke_diiiiiiiii;var fa=env.invoke_diiiiiiiiii;var ga=env.invoke_ii;var ha=env.invoke_iidid;var ia=env.invoke_iii;var ja=env.invoke_iiid;var ka=env.invoke_iiii;var la=env.invoke_iiiii;var ma=env.invoke_iiiiii;var na=env.invoke_iiiiiii;var oa=env.invoke_iiiiiiiii;var pa=env.invoke_iiiiiiiiiii;var qa=env.invoke_v;var ra=env.invoke_vi;var sa=env.invoke_vid;var ta=env.invoke_vidd;var ua=env.invoke_viddiii;var va=env.invoke_vidi;var wa=env.invoke_vidii;var xa=env.invoke_vii;var ya=env.invoke_viid;var za=env.invoke_viidi;var Aa=env.invoke_viidii;var Ba=env.invoke_viii;var Ca=env.invoke_viiid;var Da=env.invoke_viiidii;var Ea=env.invoke_viiii;var Fa=env.invoke_viiiid;var Ga=env.invoke_viiiidddddidi;var Ha=env.invoke_viiiiddddiid;var Ia=env.invoke_viiiii;var Ja=env.invoke_viiiiid;var Ka=env.invoke_viiiiii;var La=env.invoke_viiiiiii;var Ma=env.invoke_viiiiiiiii;var Na=env.invoke_viiiiiiiiii;var Oa=env.__ZN30btGeneric6DofSpring2Constraint8getInfo1EPN17btTypedConstraint17btConstraintInfo1E;var Pa=env.__ZN30btGeneric6DofSpring2Constraint8getInfo2EPN17btTypedConstraint17btConstraintInfo2E;var Qa=env.__ZN30btGeneric6DofSpring2Constraint8setParamEifi;var Ra=env.__ZN30btGeneric6DofSpring2ConstraintC2ER11btRigidBodyS1_RK11btTransformS4_11RotateOrder;var Sa=env.__ZNK30btGeneric6DofSpring2Constraint8getParamEii;var Ta=env.__ZSt18uncaught_exceptionv;var Ua=env.___cxa_begin_catch;var Va=env.___cxa_find_matching_catch;var Wa=env.___cxa_pure_virtual;var Xa=env.___gxx_personality_v0;var Ya=env.___resumeException;var Za=env.___setErrNo;var _a=env.___syscall140;var $a=env.___syscall146;var ab=env.___syscall6;var bb=env._abort;var cb=env._emscripten_asm_const_diiiiiiii;var db=env._emscripten_memcpy_big;var eb=env._gettimeofday;var fb=env._llvm_pow_f32;var gb=env._llvm_trap;var hb=env._pthread_getspecific;var ib=env._pthread_key_create;var jb=env._pthread_once;var kb=env._pthread_setspecific;var lb=env.flush_NO_FILESYSTEM;var mb=0.0;
|
||
|
// EMSCRIPTEN_START_FUNCS
|
||
|
function bf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;c[b+16>>2]=c[a+4>>2];c[b+20>>2]=c[a+8>>2];c[b+24>>2]=c[a+12>>2];c[b+28>>2]=c[a+16>>2];c[b+32>>2]=c[a+20>>2];c[b+36>>2]=c[a+24>>2];c[b+40>>2]=c[a+28>>2];c[b+44>>2]=c[a+32>>2];c[b+48>>2]=c[a+36>>2];c[b+52>>2]=c[a+40>>2];c[b+56>>2]=c[a+44>>2];c[b+60>>2]=c[a+48>>2];c[b+64>>2]=c[a+52>>2];c[b+68>>2]=c[a+56>>2];c[b+72>>2]=c[a+60>>2];c[b+76>>2]=c[a+64>>2];c[b+80>>2]=c[a+68>>2];c[b+84>>2]=c[a+72>>2];c[b+88>>2]=c[a+76>>2];c[b+92>>2]=c[a+80>>2];c[b+96>>2]=c[a+84>>2];c[b+100>>2]=c[a+88>>2];c[b+104>>2]=c[a+92>>2];c[b+108>>2]=c[a+96>>2];c[b+112>>2]=c[a+100>>2];c[b+116>>2]=c[a+104>>2];c[b+120>>2]=c[a+108>>2];c[b+124>>2]=c[a+112>>2];c[b+128>>2]=c[a+116>>2];c[b+132>>2]=c[a+120>>2];c[b+136>>2]=c[a+124>>2];c[b+140>>2]=c[a+128>>2];c[b+144>>2]=c[a+132>>2];c[b+148>>2]=c[a+136>>2];c[b+152>>2]=c[a+140>>2];c[b+156>>2]=c[a+144>>2];c[b+160>>2]=c[a+148>>2];c[b+164>>2]=c[a+152>>2];c[b+168>>2]=c[a+156>>2];c[b+172>>2]=c[a+160>>2];c[b+176>>2]=c[a+164>>2];c[b+180>>2]=c[a+168>>2];c[b+184>>2]=c[a+172>>2];c[b+188>>2]=c[a+176>>2];c[b+232>>2]=c[a+180>>2];c[b+192>>2]=c[a+184>>2];c[b>>2]=0;c[b+4>>2]=zb[c[(c[d>>2]|0)+28>>2]&31](d,c[a+192>>2]|0)|0;c[b+8>>2]=0;c[b+236>>2]=c[a+204>>2];c[b+240>>2]=c[a+208>>2];c[b+244>>2]=c[a+212>>2];c[b+248>>2]=c[a+220>>2];c[b+196>>2]=c[a+224>>2];c[b+200>>2]=c[a+228>>2];c[b+204>>2]=c[a+236>>2];c[b+208>>2]=c[a+244>>2];c[b+212>>2]=c[a+248>>2];c[b+216>>2]=c[a+232>>2];c[b+252>>2]=c[a+252>>2];e=zb[c[(c[d>>2]|0)+40>>2]&31](d,a)|0;f=zb[c[(c[d>>2]|0)+28>>2]&31](d,e)|0;c[b+12>>2]=f;if(!f){f=a+268|0;f=c[f>>2]|0;d=b+220|0;c[d>>2]=f;d=a+272|0;d=c[d>>2]|0;f=b+224|0;c[f>>2]=d;f=a+276|0;f=c[f>>2]|0;d=b+228|0;c[d>>2]=f;d=a+280|0;d=c[d>>2]|0;f=b+256|0;c[f>>2]=d;f=b+260|0;c[f>>2]=0;return 13018}Ob[c[(c[d>>2]|0)+48>>2]&127](d,e);f=a+268|0;f=c[f>>2]|0;d=b+220|0;c[d>>2]=f;d=a+272|0;d=c[d>>2]|0;f=b+224|0;c[f>>2]=d;f=a+276|0;f=c[f>>2]|0;d=b+228|0;c[d>>2]=f;d=a+280|0;d=c[d>>2]|0;f=b+256|0;c[f>>2]=d;f=b+260|0;c[f>>2]=0;return 13018}function cf(b,d,e,f,h){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0.0,x=0.0,y=0.0,z=0.0;v=a[h+16>>0]&-16;a[h+16>>0]=v;w=+g[e>>2];x=+g[d>>2];n=+g[e+4>>2];o=+g[d+4>>2];p=+g[e+8>>2];q=+g[d+8>>2];r=+g[f>>2];s=+g[f+4>>2];t=+g[f+8>>2];l=+g[b>>2];m=+g[b+4>>2];i=+g[b+8>>2];y=(w-x)*(l-x)+(n-o)*(m-o)+(p-q)*(i-q);z=(r-x)*(l-x)+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6;j=k;k=1.0-k;i=0.0;break}l=1.0/(y*k-u*z+(u*i-j*k+(j*z-y*i)));m=(j*z-y*i)*l;i=(y*k-u*z)*l;g[h>>2]=(r-x)*i+((w-x)*m+x);g[h+4>>2]=(s-o)*i+((n-o)*m+o);g[h+8>>2]=(t-q)*i+((p-q)*m+q);g[h+12>>2]=0.0;a[h+16>>0]=v|7;j=i;k=m;i=1.0-m-i}while(0);g[h+20>>2]=i;g[h+24>>2]=k;g[h+28>>2]=j;g[h+32>>2]=0.0;return}function df(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0;h=c[c[b+1120>>2]>>2]|0;f=c[c[e+1120>>2]>>2]|0;c[6995]=(c[6995]|0)+1;e=sc(207)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}y=e+4|0;i=e+28|0;Yk(i|0,0,160)|0;c[e>>
|
||
|
function wd(b,d){b=b|0;d=+d;var e=0,f=0.0,h=0,i=0,j=0.0,k=0.0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0.0,t=0,u=0;r=l;l=l+288|0;o=c[b+248>>2]|0;if((o|0)>0){h=c[b+256>>2]|0;i=r+224+48|0;m=r+64+28|0;e=0;do{n=c[h+(e<<2)>>2]|0;g[n+268>>2]=1.0;a:do switch(c[n+220>>2]|0){case 2:case 5:break;default:if(!(c[n+204>>2]&3)){Af(n+4|0,+g[n+372>>2],+g[n+376>>2],+g[n+380>>2],n+388|0,d,r+224|0);f=+g[i>>2]-+g[n+52>>2];j=+g[r+224+52>>2]-+g[n+56>>2];k=+g[r+224+56>>2]-+g[n+60>>2];do if((a[b+44>>0]|0?(s=+g[n+276>>2],s*s!=0.0?s*s<f*f+j*j+k*k:0):0)?(c[(c[n+192>>2]|0)+4>>2]|0)<20:0){c[5787]=(c[5787]|0)+1;u=c[b+68>>2]|0;u=xb[c[(c[u>>2]|0)+36>>2]&127](u)|0;t=c[b+24>>2]|0;g[r+120+4>>2]=1.0;c[r+120+16>>2]=c[n+52>>2];c[r+120+16+4>>2]=c[n+52+4>>2];c[r+120+16+8>>2]=c[n+52+8>>2];c[r+120+16+12>>2]=c[n+52+12>>2];c[r+120+32>>2]=c[i>>2];c[r+120+32+4>>2]=c[i+4>>2];c[r+120+32+8>>2]=c[i+8>>2];c[r+120+32+12>>2]=c[i+12>>2];c[r+120+80>>2]=0;c[r+120>>2]=4556;c[r+120+84>>2]=n;c[r+120+92>>2]=u;c[r+120+96>>2]=t;t=c[n+272>>2]|0;c[r+64+8>>2]=0;c[r+64+12>>2]=-1;c[r+64>>2]=7020;c[r+64+4>>2]=8;c[r+64+16>>2]=1065353216;c[r+64+20>>2]=1065353216;c[r+64+24>>2]=1065353216;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[r+64+32>>2]=t;c[r+64+48>>2]=t;g[r+64+52>>2]=0.0;c[r+120+88>>2]=c[b+56>>2];t=c[n+188>>2]|0;c[r+120+8>>2]=c[t+4>>2];c[r+120+12>>2]=c[t+8>>2];c[r+48>>2]=c[i>>2];c[r+48+4>>2]=c[i+4>>2];c[r+48+8>>2]=c[i+8>>2];c[r+48+12>>2]=c[i+12>>2];c[r>>2]=c[n+4>>2];c[r+4>>2]=c[n+4+4>>2];c[r+8>>2]=c[n+4+8>>2];c[r+12>>2]=c[n+4+12>>2];c[r+16>>2]=c[n+20>>2];c[r+16+4>>2]=c[n+20+4>>2];c[r+16+8>>2]=c[n+20+8>>2];c[r+16+12>>2]=c[n+20+12>>2];c[r+32>>2]=c[n+36>>2];c[r+32+4>>2]=c[n+36+4>>2];c[r+32+8>>2]=c[n+36+8>>2];c[r+32+12>>2]=c[n+36+12>>2];Ud(b,r+64|0,n+4|0,r,r+120|0,0.0);f=+g[r+120+4>>2];if(f<1.0){g[n+268>>2]=f;Af(n+4|0,+g[n+372>>2],+g[n+376>>2],+g[n+380>>2],n+388|0,f*d,r+224|0);g[n+268>>2]=0.0;Oe(n,r+224|0);break a}else break}while(0);Oe(n,r+224|0)}}while(0);e=e+1|0}while((e|0)<(o|0))}if(!(a[b+291>>0]|0)){l=r;return}if((c[b+324>>2]|0)<=0){l=r;return}n=0;do{o=c[(c[b+332>>2]|0)+(n<<2)>>2]|0;h=c[o+772>>2]|0;h=(c[h+252>>2]&2|0)==0?0:h;m=c[o+776>>2]|0;m=(c[m+252>>2]&2|0)==0?0:m;e=c[o+780>>2]|0;if((e|0)>0)if(!h){h=0;do{f=+g[58]*+g[m+232>>2];if(f>0.0?(p=+g[o+4+(h*192|0)+124>>2],p!=0.0):0){k=f*+g[o+4+(h*192|0)+64>>2]*p;d=f*+g[o+4+(h*192|0)+68>>2]*p;s=f*+g[o+4+(h*192|0)+72>>2]*p;f=+g[o+4+(h*192|0)+36>>2]-+g[m+56>>2];j=+g[o+4+(h*192|0)+40>>2]-+g[m+60>>2];g[r+64>>2]=+g[o+4+(h*192|0)+32>>2]-+g[m+52>>2];g[r+64+4>>2]=f;g[r+64+8>>2]=j;g[r+64+12>>2]=0.0;g[r>>2]=k;g[r+4>>2]=d;g[r+8>>2]=s;g[r+12>>2]=0.0;ll(m,r,r+64|0);e=c[o+780>>2]|0}h=h+1|0}while((h|0)<(e|0))}else{i=0;do{f=+g[h+232>>2]*+g[m+232>>2];if(f>0.0?(q=+g[o+4+(i*192|0)+124>>2],q!=0.0):0){k=f*+g[o+4+(i*192|0)+64>>2]*q;d=f*+g[o+4+(i*192|0)+68>>2]*q;s=f*+g[o+4+(i*192|0)+72>>2]*q;g[r+224>>2]=-k;g[r+224+4>>2]=-d;g[r+224+8>>2]=-s;g[r+224+12>>2]=0.0;j=+g[o+4+(i*192|0)+52>>2]-+g[h+56>>2];f=+g[o+4+(i*192|0)+56>>2]-+g[h+60>>2];g[r+120>>2]=+g[o+4+(i*192|0)+48>>2]-+g[h+52>>2];g[r+120+4>>2]=j;g[r+120+8>>2]=f;g[r+120+12>>2]=0.0;f=+g[o+4+(i*192|0)+36>>2]-+g[m+56>>2];j=+g[o+4+(i*192|0)+40>>2]-+g[m+60>>2];g[r+64>>2]=+g[o+4+(i*192|0)+32>>2]-+g[m+52>>2];g[r+64+4>>2]=f;g[r+64+8>>2]=j;g[r+64+12>>2]=0.0;ll(h,r+224|0,r+120|0);g[r>>2]=k;g[r+4>>2]=d;g[r+8>>2]=s;g[r+12>>2]=0.0;ll(m,r,r+64|0);e=c[o+780>>2]|0}i=i+1|0}while((i|0)<(e|0))}n=n+1|0}while((n|0)<(c[b+324>>2]|0));l=r;return}function xd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0.0,i=0.0,j=0.0,k=0.0,m=0,n=0.0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0;q=l;l=l+240|0;c[a+4>>2]=(c[a+4>>2]|0)+1;p=c[b+36>>2]|0;o=c[d+36>>2]|0;f=c[a+8>>2]|0;J=c[(c[f+4>>2]|0)+28>>2]|0;d=c[J+(p*80|0)+64>>2]|0;b=(c[(c[a+12>>2]|0)+4>>2]|0)+28|0;e=c[(c[b>>2]|0)+(o*80|0)+64>>2]|0;f=c[f+12>>2]|0;n=+g[f>>2];H=+g[f+4>>2];I=+g[f+8>>2];h=+g[f+16>>2];k=+g[f+20>>2];t=+g[f+24>>2];r=+g[f+32>>2];u=+g[f+36>>2];C=+g[f+40>>2];v=+g[J+(p*80|0)>>2];w=+g[J+(p*80|0)+16>>2];x=+g[J+(p*80|0)+32>>2];y=+g[J+(p*80|0)+4>>2];z=+g[J+(p*80|0)+20>>2];A=+g[J+(p*80|0)+36>>2];i=+g[J+(p*80|0)+8
|
||
|
function Gc(b,d){b=b|0;d=+d;var e=0,f=0.0,h=0,i=0,j=0,k=0.0,m=0.0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0,P=0.0,Q=0.0,R=0.0;s=l;l=l+96|0;p=c[b+128>>2]|0;if(!p){l=s;return}e=c[b+8>>2]|0;if((e|0)<(p|0)){if((c[b+12>>2]|0)<(p|0)){c[6995]=(c[6995]|0)+1;h=sc((p<<4|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+8>>2]|0;if((i|0)>0){h=0;do{n=j+(h<<4)|0;t=(c[b+16>>2]|0)+(h<<4)|0;c[n>>2]=c[t>>2];c[n+4>>2]=c[t+4>>2];c[n+8>>2]=c[t+8>>2];c[n+12>>2]=c[t+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[b+16>>2]|0;if(h|0){if(a[b+20>>0]|0){c[6996]=(c[6996]|0)+1;Cd(c[h+-4>>2]|0)}c[b+16>>2]=0}a[b+20>>0]=1;c[b+16>>2]=j;c[b+12>>2]=p;h=b+16|0}else h=b+16|0;do{t=(c[h>>2]|0)+(e<<4)|0;c[t>>2]=c[s+48>>2];c[t+4>>2]=c[s+48+4>>2];c[t+8>>2]=c[s+48+8>>2];c[t+12>>2]=c[s+48+12>>2];e=e+1|0}while((e|0)!=(p|0))}c[b+8>>2]=p;e=c[b+28>>2]|0;if((e|0)<(p|0)){if((c[b+32>>2]|0)<(p|0)){c[6995]=(c[6995]|0)+1;h=sc((p<<4|3)+16|0)|0;if(!h)j=0;else{c[(h+4+15&-16)+-4>>2]=h;j=h+4+15&-16}i=c[b+28>>2]|0;if((i|0)>0){h=0;do{t=j+(h<<4)|0;n=(c[b+36>>2]|0)+(h<<4)|0;c[t>>2]=c[n>>2];c[t+4>>2]=c[n+4>>2];c[t+8>>2]=c[n+8>>2];c[t+12>>2]=c[n+12>>2];h=h+1|0}while((h|0)!=(i|0))}h=c[b+36>>2]|0;if(h|0){if(a[b+40>>0]|0){c[6996]=(c[6996]|0)+1;Cd(c[h+-4>>2]|0)}c[b+36>>2]=0}a[b+40>>0]=1;c[b+36>>2]=j;c[b+32>>2]=p;h=b+36|0}else h=b+36|0;do{t=(c[h>>2]|0)+(e<<4)|0;c[t>>2]=c[s+48>>2];c[t+4>>2]=c[s+48+4>>2];c[t+8>>2]=c[s+48+8>>2];c[t+12>>2]=c[s+48+12>>2];e=e+1|0}while((e|0)!=(p|0))}c[b+28>>2]=p;n=c[b+48>>2]|0;if((n|0)<(p|0)){if((c[b+52>>2]|0)<(p|0)){c[6995]=(c[6995]|0)+1;e=sc((p<<2|3)+16|0)|0;if(!e)j=0;else{c[(e+4+15&-16)+-4>>2]=e;j=e+4+15&-16}h=c[b+48>>2]|0;i=c[b+56>>2]|0;if((h|0)<=0)if(!i)e=b+60|0;else o=39;else{e=0;do{c[j+(e<<2)>>2]=c[i+(e<<2)>>2];e=e+1|0}while((e|0)!=(h|0));o=39}if((o|0)==39)if(!(a[b+60>>0]|0))e=b+60|0;else{c[6996]=(c[6996]|0)+1;Cd(c[i+-4>>2]|0);e=b+60|0}a[e>>0]=1;c[b+56>>2]=j;c[b+52>>2]=p;h=p<<2;e=j}else{h=p<<2;e=c[b+56>>2]|0}Yk(e+(n<<2)|0,0,h-(n<<2)|0)|0}c[b+48>>2]=p;n=c[b+68>>2]|0;if((n|0)<(p|0)){if((c[b+72>>2]|0)<(p|0)){c[6995]=(c[6995]|0)+1;e=sc((p<<2|3)+16|0)|0;if(!e)e=0;else{c[(e+4+15&-16)+-4>>2]=e;e=e+4+15&-16}i=c[b+68>>2]|0;j=c[b+76>>2]|0;if((i|0)<=0)if(!j)h=b+80|0;else o=52;else{h=0;do{c[e+(h<<2)>>2]=c[j+(h<<2)>>2];h=h+1|0}while((h|0)!=(i|0));o=52}if((o|0)==52)if(!(a[b+80>>0]|0))h=b+80|0;else{c[6996]=(c[6996]|0)+1;Cd(c[j+-4>>2]|0);h=b+80|0}a[h>>0]=1;c[b+76>>2]=e;c[b+72>>2]=p;h=p<<2}else{h=p<<2;e=c[b+76>>2]|0}Yk(e+(n<<2)|0,0,h-(n<<2)|0)|0}c[b+68>>2]=p;e=c[b+128>>2]|0;if((e|0)<=0){l=s;return}i=c[b+76>>2]|0;j=c[b+56>>2]|0;h=0;do{g[i+(h<<2)>>2]=0.0;g[j+(h<<2)>>2]=0.0;h=h+1|0}while((h|0)!=(e|0));j=0;do{h=c[b+136>>2]|0;i=c[h+(j*284|0)+88>>2]|0;if(i){n=h+(j*284|0)+92|0;c[s+48>>2]=c[n>>2];c[s+48+4>>2]=c[n+4>>2];c[s+48+8>>2]=c[n+8>>2];c[s+48+12>>2]=c[n+12>>2];n=h+(j*284|0)+108|0;c[s+48+16>>2]=c[n>>2];c[s+48+16+4>>2]=c[n+4>>2];c[s+48+16+8>>2]=c[n+8>>2];c[s+48+16+12>>2]=c[n+12>>2];n=h+(j*284|0)+124|0;c[s+48+32>>2]=c[n>>2];c[s+48+32+4>>2]=c[n+4>>2];c[s+48+32+8>>2]=c[n+8>>2];c[s+48+32+12>>2]=c[n+12>>2];n=c[b+112>>2]|0;e=c[s+48+16+(n<<2)>>2]|0;y=c[s+48+32+(n<<2)>>2]|0;o=c[b+36>>2]|0;c[o+(j<<4)>>2]=c[s+48+(n<<2)>>2];c[o+(j<<4)+4>>2]=e;c[o+(j<<4)+8>>2]=y;g[o+(j<<4)+12>>2]=0.0;o=c[b+36>>2]|0;y=o+(j<<4)|0;z=+g[y>>2];e=h+(j*284|0)|0;f=+g[e>>2];n=o+(j<<4)+4|0;x=+g[n>>2];t=h+(j*284|0)+4|0;k=+g[t>>2];o=o+(j<<4)+8|0;u=+g[o>>2];p=h+(j*284|0)+8|0;w=+g[p>>2];m=z-f*(z*f+x*k+u*w);v=x-k*(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=c[(c[b+32>>2]|0)+(J<<2)>>2]|0;switch(c[I+220>>2]|0){case 2:case 5:break;default:{if(a[I+984>>0]|0){a[I+984>>0]=0;f=c[I+792>>2]|0;if((f|0)>0){h=c[I+800>>2]|0;e=0;do{x=c[h+(e*52|0)+24>>2]|0;H=c[h+(e*52|0)+28>>2]|0;E=+g[x+8>>2]-+g[H+8>>2];F=+g[x+12>>2]-+g[H+12>>2];G=+g[x+16>>2]-+g[H+16>>2];G=+D(+(E*E+F*F+G*G));g[h+(e*52|0)+32>>2]=G;g[h+(e*52|0)+44>>2]=G*G;e=e+1|0}while((e|0)!=(f|0));e=0;do{g[h+(e*52|0)+40>>2]=(+g[(c[h+(e*52|0)+24>>2]|0)+88>>2]+ +g[(c[h+(e*52|0)+28>>2]|0)+88>>2])/+g[(c[h+(e*52|0)+4>>2]|0)+4>>2];e=e+1|0}while((e|0)!=(f|0))}Vf(I);Dl(I+1028|0);if(c[I+448>>2]&16|0)$g(I)}m=+g[I+428>>2]*d;g[I+512>>2]=m;g[I+516>>2]=1.0/m;g[I+520>>2]=m*3.0;x=c[I+192>>2]|0;m=+nb[c[(c[x>>2]|0)+48>>2]&15](x);g[I+524>>2]=m;g[I+528>>2]=m*.25;x=c[I+744>>2]|0;m=+g[I+512>>2];i=+g[x+40>>2]*m;k=m*+g[x+44>>2];m=m*+g[x+48>>2];H=c[I+772>>2]|0;if((H|0)>0){f=c[I+780>>2]|0;e=0;do{if(+g[f+(e*104|0)+88>>2]>0.0){n=f+(e*104|0)+40|0;g[n>>2]=i+ +g[n>>2];n=f+(e*104|0)+44|0;g[n>>2]=k+ +g[n>>2];n=f+(e*104|0)+48|0;g[n>>2]=m+ +g[n>>2]}e=e+1|0}while((e|0)!=(H|0))}F=+g[I+368>>2];G=+g[I+372>>2];n=+g[I+364>>2]>0.0?1:+g[I+360>>2]>0.0;if(F!=0.0|G>0.0){if((H|0)>0){f=c[I+780>>2]|0;k=+g[f+8>>2];m=+g[f+12>>2];o=+g[f+16>>2];f=c[I+812>>2]|0;if((f|0)>0){h=c[I+820>>2]|0;e=0;i=0.0;do{fa=c[h+(e*44|0)+8>>2]|0;ga=c[h+(e*44|0)+12>>2]|0;B=+g[ga+8>>2]-k;w=+g[ga+12>>2]-m;z=+g[ga+16>>2]-o;ga=c[h+(e*44|0)+16>>2]|0;A=+g[ga+8>>2]-k;y=+g[ga+12>>2]-m;E=+g[ga+16>>2]-o;i=i+((+g[fa+16>>2]-o)*(B*y-w*A)+((+g[fa+8>>2]-k)*(w*E-z*y)+(+g[fa+12>>2]-m)*(z*A-B*E)));e=e+1|0}while((e|0)!=(f|0))}else i=0.0;i=i/6.0}else i=0.0;E=F*(1.0/+C(+i));B=G*(+g[I+536>>2]-i)}else{B=0.0;E=0.0}a:do if((H|0)>0){if(!n){f=c[I+780>>2]|0;e=0;while(1){if(+g[f+(e*104|0)+88>>2]>0.0){if(F!=0.0){y=E*+g[f+(e*104|0)+92>>2];z=y*+g[f+(e*104|0)+76>>2];A=y*+g[f+(e*104|0)+80>>2];ga=f+(e*104|0)+56|0;g[ga>>2]=+g[f+(e*104|0)+72>>2]*y+ +g[ga>>2];ga=f+(e*104|0)+60|0;g[ga>>2]=z+ +g[ga>>2];ga=f+(e*104|0)+64|0;g[ga>>2]=A+ +g[ga>>2]}if(G>0.0){y=B*+g[f+(e*104|0)+92>>2];z=y*+g[f+(e*104|0)+76>>2];A=y*+g[f+(e*104|0)+80>>2];ga=f+(e*104|0)+56|0;g[ga>>2]=+g[f+(e*104|0)+72>>2]*y+ +g[ga>>2];ga=f+(e*104|0)+60|0;g[ga>>2]=z+ +g[ga>>2];ga=f+(e*104|0)+64|0;g[ga>>2]=A+ +g[ga>>2]}}e=e+1|0;if((e|0)==(H|0))break a}}f=c[I+780>>2]|0;e=0;do{w=+g[f+(e*104|0)+88>>2];if(w>0.0){y=+g[I+512>>2];u=+g[I+364>>2];s=+g[I+360>>2];b:do if((u>0.0|s>0.0?(M=c[x>>2]|0,(c[I+348>>2]|0)<4):0)?(N=+g[f+(e*104|0)+40>>2],O=N-+g[I+1212>>2],Q=+g[f+(e*104|0)+44>>2],R=Q-+g[I+1216>>2],S=+g[f+(e*104|0)+48>>2],T=S-+g[I+1220>>2],U=+D(+(O*O+R*R+T*T)),O*O+R*R+T*T>1.1920928955078125e-07):0){v=O*(1.0/U);z=R*(1.0/U);A=T*(1.0/U);k=+g[f+(e*104|0)+72>>2];o=+g[f+(e*104|0)+76>>2];p=+g[f+(e*104|0)+80>>2];switch(c[I+348>>2]|0){case 2:{r=O*k+R*o+T*p<0.0?-1.0:1.0;i=A*p*r+(v*k*r+z*o*r);m=+g[f+(e*104|0)+92>>2]*.5;q=(c[j>>2]=M,+g[j>>2]);t=i*s*.5*q*(O*O+R*R+T*T)*m;if(i>0.0&i<.9847999811172485){u=u*.5*q*U*m*+D(+(1.0-i*i));q=(A*(v*p*r-A*k*r)-z*(z*k*r-v*o*r))*u;s=(v*(z*k*r-v*o*r)-A*(A*o*r-z*p*r))*u;o=(z*(A*o*r-z*p*r)-v*(v*p*r-A*k*r))*u}else{q=0.0;s=0.0;o=0.0}i=y*w*-(A*t)*y*w*-(A*t)+(w*-(v*t)*y*w*-(v*t)*y+y*w*-(z*t)*y*w*-(z*t));if(i>0.0?i>=N*N+Q*Q+S*S:0){i=+D(+(N*N+Q*Q+S*S))/+D(+i)*.800000011920929;m=i*-(v*t);k=i*-(A*t);i=i*-(z*t)}else{m=-(v*t);k=-(A*t);i=-(z*t)}n=f+(e*104|0)+56|0;fa=f+(e*104|0)+60|0;z=i+ +g[fa>>2];ga=f+(e*104|0)+64|0;A=k+ +g[ga>>2];g[n>>2]=q+(m+ +g[n>>2]);g[fa>>2]=s+z;g[ga>>2]=o+A;break b}case 1:{t=O*k+R*o+T*p<0.0?-1.0:1.0;k=k*t;o=o*t;p=p*t;break}case 3:case 0:break;default:break b}i=O*k+R*o+T*p;if(i>0.0){i=-((c[j>>2]=M,+g[j>>2])*(O*O+R*R+T*T)*i*+g[f+(e*104|0)+92>>2]*.5);m=v*s*i+(k*u*i+0.0);k=z*s*i+(o*u*i+0.0);i=A
|
||
|
function Ki(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;c[b>>2]=9184;if(a[b+152>>0]|0?(d=c[b+96>>2]|0,Ib[c[c[d>>2]>>2]&511](d),d=c[b+96>>2]|0,d|0):0){c[6996]=(c[6996]|0)+1;Cd(c[d+-4>>2]|0)}f=c[b+160>>2]|0;if((f|0)>0){d=0;do{g=c[b+168>>2]|0;h=g+(d*20|0)+4|0;i=g+(d*20|0)+12|0;j=c[i>>2]|0;e=g+(d*20|0)+16|0;if(j|0){if(a[e>>0]|0){c[6996]=(c[6996]|0)+1;Cd(c[j+-4>>2]|0)}c[i>>2]=0}a[e>>0]=1;c[i>>2]=0;c[h>>2]=0;c[g+(d*20|0)+8>>2]=0;d=d+1|0}while((d|0)!=(f|0))}d=c[b+168>>2]|0;if(!d){a[b+172>>0]=1;c[b+168>>2]=0;c[b+160>>2]=0;j=b+164|0;c[j>>2]=0;j=b+4|0;b=b+44|0;Bl(b);Bl(j);return}if(a[b+172>>0]|0){c[6996]=(c[6996]|0)+1;Cd(c[d+-4>>2]|0)}c[b+168>>2]=0;a[b+172>>0]=1;c[b+168>>2]=0;c[b+160>>2]=0;j=b+164|0;c[j>>2]=0;j=b+4|0;b=b+44|0;Bl(b);Bl(j);return}function Li(b){b=b|0;var d=0,e=0,f=0,g=0;c[b>>2]=9068;a[b+20>>0]=1;c[b+16>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+24>>2]=0;a[b+44>>0]=1;c[b+40>>2]=0;c[b+32>>2]=0;c[b+36>>2]=0;a[b+64>>0]=1;c[b+60>>2]=0;c[b+52>>2]=0;c[b+56>>2]=0;c[b+68>>2]=0;c[6995]=(c[6995]|0)+1;d=sc(51)|0;if(!d)f=0;else{c[(d+4+15&-16)+-4>>2]=d;f=d+4+15&-16}e=c[b+8>>2]|0;if((e|0)>0){d=0;do{g=c[b+16>>2]|0;c[f+(d<<4)>>2]=c[g+(d<<4)>>2];c[f+(d<<4)+4>>2]=c[g+(d<<4)+4>>2];c[f+(d<<4)+8>>2]=c[g+(d<<4)+8>>2];c[f+(d<<4)+12>>2]=c[g+(d<<4)+12>>2];d=d+1|0}while((d|0)!=(e|0))}d=c[b+16>>2]|0;if(!d){a[b+20>>0]=1;c[b+16>>2]=f;c[b+12>>2]=2;Kf(b);return}if(a[b+20>>0]|0){c[6996]=(c[6996]|0)+1;Cd(c[d+-4>>2]|0)}c[b+16>>2]=0;a[b+20>>0]=1;c[b+16>>2]=f;c[b+12>>2]=2;Kf(b);return}function Mi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[d>>2]|0;d=c[b+328>>2]|0;a:do if((d|0)>0){f=c[b+336>>2]|0;e=0;while(1){if((c[f+(e<<2)>>2]|0)==(g|0))break;e=e+1|0;if((e|0)>=(d|0))break a}if((e|0)!=(d|0))return}while(0);if((d|0)==(c[b+332>>2]|0)?(h=d|0?d<<1:1,(d|0)<(h|0)):0){if(!h)f=0;else{c[6995]=(c[6995]|0)+1;d=sc((h<<2|3)+16|0)|0;if(!d)d=0;else{c[(d+4+15&-16)+-4>>2]=d;d=d+4+15&-16}f=d;d=c[b+328>>2]|0}if((d|0)>0){e=0;do{c[f+(e<<2)>>2]=c[(c[b+336>>2]|0)+(e<<2)>>2];e=e+1|0}while((e|0)!=(d|0))}e=c[b+336>>2]|0;if(e){if(a[b+340>>0]|0){c[6996]=(c[6996]|0)+1;Cd(c[e+-4>>2]|0);d=c[b+328>>2]|0}c[b+336>>2]=0}a[b+340>>0]=1;c[b+336>>2]=f;c[b+332>>2]=h}c[(c[b+336>>2]|0)+(d<<2)>>2]=g;c[b+328>>2]=d+1;return}function Ni(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;while(1){m=c[a+12>>2]|0;n=c[m+(((b+d|0)/2|0)<<2)>>2]|0;f=b;e=d;while(1){l=c[n+28>>2]|0;l=c[((c[l+208>>2]|0)>-1?l:c[n+32>>2]|0)+208>>2]|0;while(1){h=m+(f<<2)|0;i=c[h>>2]|0;k=c[i+28>>2]|0;j=f+1|0;if((c[((c[k+208>>2]|0)>-1?k:c[i+32>>2]|0)+208>>2]|0)<(l|0))f=j;else break}while(1){g=c[m+(e<<2)>>2]|0;o=c[g+28>>2]|0;k=e+-1|0;if((l|0)<(c[((c[o+208>>2]|0)>-1?o:c[g+32>>2]|0)+208>>2]|0))e=k;else break}if((f|0)<=(e|0)){c[h>>2]=g;c[(c[a+12>>2]|0)+(e<<2)>>2]=i;f=j;e=k}if((f|0)>(e|0))break;m=c[a+12>>2]|0}if((e|0)>(b|0))Ni(a,b,e);if((f|0)<(d|0))b=f;else break}return}function Oi(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if(!(qD(b,c[d+8>>2]|0)|0)){if(!(qD(b,c[d>>2]|0)|0)){h=c[b+8>>2]|0;Zb[c[(c[h>>2]|0)+24>>2]&31](h,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(c[d+20>>2]|0)!=(e|0):0){c[d+32>>2]=f;if((c[d+44>>2]|0)==4)break;a[d+52>>0]=0;a[d+53>>0]=0;f=c[b+8>>2]|0;$b[c[(c[f>>2]|0)+20>>2]&7](f,d,e,e,1,g);if(a[d+53>>0]|0)if(!(a[d+52>>0]|0)){b=3;h=11}else b=3;else{b=4;h=11}if((h|0)==11){c[d+20>>2]=e;c[d+40>>2]=(c[d+40>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1}c[d+44>>2]=b;break}if((f|0)==1)c[d+32>>2]=1}else qs(d,e,f);while(0);return}function Pi(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0,i=0,k=0.0,m=0.0,n=0.0;i=l;l=l+16|0;c[i>>2]=c[a+32>>2];c[i+4>>2]=c[a+32+4>>2];c[i+8>>2]=c[a+32+8>>2];c[i+12>>2]=c[a+32+12>>2];n=+nb[c[(c[a>>2]|0)+48>>2]&15](a);m=+nb[c[(c[a>>2]|0)+48>>2]&15](a);k=+nb[c[(c[a>>2]|0)+48>>2]&15](a);g[i>>2]=n+ +g[i>>2];g[i+4>>2]=m+ +g[i+4>>2];g[i+8>>2]=k+ +g[i+8>>2];f=c[a+56>>2]|0;switch(f|0){case 0:{a=0;e=1;break}case 2:{a=2;e=0;break}default:{a=1;e=0}}n=+g[i+(e<<2)>>2];m=+g[i+(a<<2)>>2];h=(g[j>>2]=b*.25*n*n+b/12.0*m*m*4.0,c[j>>2]|0);a=(g[j>>2]=b*.5*n*n,c[j>>2]|0);switch(f|0){case 0:{e=h;f=h;break}case 2:{e=a;f=h;a=h;break}default:{e=h;f=a;a=h}}c[d>>2]=a;c[d+4>>2]=f;c[d+8>>2]=e;g[d+12>>2]=0.0
|
||
|
function dc(d,f){d=d|0;f=f|0;var h=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0,y=0,z=0,A=0,B=0.0,E=0.0,F=0.0,G=0,H=0.0,I=0,J=0,K=0,L=0.0,M=0,N=0,O=0.0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0.0,ja=0.0,ka=0,la=0;ha=l;l=l+192|0;i=c[d+56>>2]|0;if(i|0?(Ib[c[c[i>>2]>>2]&511](i),h=c[d+56>>2]|0,h|0):0){c[6996]=(c[6996]|0)+1;Cd(c[h+-4>>2]|0)}c[6995]=(c[6995]|0)+1;h=sc(151)|0;if(!h)h=0;else{c[(h+4+15&-16)+-4>>2]=h;h=h+4+15&-16}c[h>>2]=9696;a[h+20>>0]=1;c[h+16>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;a[h+40>>0]=1;c[h+36>>2]=0;c[h+28>>2]=0;c[h+32>>2]=0;a[h+60>>0]=1;c[h+56>>2]=0;c[h+48>>2]=0;c[h+52>>2]=0;c[d+56>>2]=h;n=0;o=0;ga=0;K=0;h=0;while(1){if((n|0)>=(xb[c[(c[d>>2]|0)+96>>2]&127](d)|0))break;do if((K|0)==(o|0)){i=o|0?o<<1:1;if((o|0)<(i|0)){if((i|0)!=0?(c[6995]=(c[6995]|0)+1,p=sc((i<<4|3)+16|0)|0,(p|0)!=0):0){c[(p+4+15&-16)+-4>>2]=p;k=p+4+15&-16}else k=0;if((o|0)<=0){if(!ga){m=k;h=k;k=o;break}}else{h=0;do{fa=k+(h<<4)|0;ea=ga+(h<<4)|0;c[fa>>2]=c[ea>>2];c[fa+4>>2]=c[ea+4>>2];c[fa+8>>2]=c[ea+8>>2];c[fa+12>>2]=c[ea+12>>2];h=h+1|0}while((h|0)!=(o|0))}c[6996]=(c[6996]|0)+1;Cd(c[ga+-4>>2]|0);m=k;h=k;k=o}else{i=o;m=ga;k=o}}else{i=o;m=ga;k=K}while(0);o=m+(K<<4)|0;c[o>>2]=c[ha+136>>2];c[o+4>>2]=c[ha+136+4>>2];c[o+8>>2]=c[ha+136+8>>2];c[o+12>>2]=c[ha+136+12>>2];Sb[c[(c[d>>2]|0)+108>>2]&127](d,n,o);n=n+1|0;o=i;ga=m;K=k+1|0}a[ha+76+16>>0]=1;fa=ha+76+12|0;c[fa>>2]=0;c[ha+76+4>>2]=0;c[ha+76+8>>2]=0;a[ha+76+36>>0]=1;ea=ha+76+32|0;c[ea>>2]=0;c[ha+76+24>>2]=0;c[ha+76+28>>2]=0;a[ha+76+56>>0]=1;da=ha+76+52|0;c[da>>2]=0;c[ha+76+44>>2]=0;c[ha+76+48>>2]=0;if(f){if((K|0)>0){J=0;i=0;k=0;m=0;while(1){h=J;J=J+1|0;if((J|0)<(K|0)){G=ga+(h<<4)|0;I=ga+(h<<4)+4|0;A=ga+(h<<4)+8|0;z=J;h=m;do{m=z;z=z+1|0;if((z|0)<(K|0)){x=ga+(m<<4)|0;y=ga+(m<<4)+4|0;w=ga+(m<<4)+8|0;f=z;do{F=+g[G>>2];v=+g[x>>2]-F;H=+g[I>>2];B=+g[y>>2]-H;L=+g[A>>2];E=+g[w>>2]-L;F=+g[ga+(f<<4)>>2]-F;H=+g[ga+(f<<4)+4>>2]-H;L=+g[ga+(f<<4)+8>>2]-L;q=1.0;p=0;while(1){t=(B*L-E*H)*q;u=(E*F-v*L)*q;r=(v*H-B*F)*q;a:do if(r*r+(t*t+u*u)>9.999999747378752e-05){s=1.0/+D(+(r*r+(t*t+u*u)));if((h|0)>0){m=0;do{if(t*s*+g[k+(m<<4)>>2]+u*s*+g[k+(m<<4)+4>>2]+r*s*+g[k+(m<<4)+8>>2]>.9990000128746033)break a;m=m+1|0}while((m|0)<(h|0))}q=t*s*+g[G>>2]+u*s*+g[I>>2]+r*s*+g[A>>2];m=0;do{if(t*s*+g[ga+(m<<4)>>2]+u*s*+g[ga+(m<<4)+4>>2]+r*s*+g[ga+(m<<4)+8>>2]-q+-.009999999776482582>0.0)break a;m=m+1|0}while((m|0)<(K|0));do if((h|0)==(i|0)){o=i|0?i<<1:1;if((i|0)<(o|0)){do if(!o)n=0;else{c[6995]=(c[6995]|0)+1;m=sc((o<<4|3)+16|0)|0;if(!m){n=0;break}c[(m+4+15&-16)+-4>>2]=m;n=m+4+15&-16}while(0);if((i|0)<=0){if(!k){m=o;k=n;break}}else{m=0;do{aa=n+(m<<4)|0;$=k+(m<<4)|0;c[aa>>2]=c[$>>2];c[aa+4>>2]=c[$+4>>2];c[aa+8>>2]=c[$+8>>2];c[aa+12>>2]=c[$+12>>2];m=m+1|0}while((m|0)!=(i|0))}c[6996]=(c[6996]|0)+1;Cd(c[k+-4>>2]|0);m=o;k=n}else m=i}else{m=i;i=h}while(0);g[k+(i<<4)>>2]=t*s;g[k+(i<<4)+4>>2]=u*s;g[k+(i<<4)+8>>2]=r*s;g[k+(i<<4)+12>>2]=-q;i=m;h=h+1|0}while(0);p=p+1|0;if((p|0)==2)break;else q=-1.0}f=f+1|0}while((f|0)!=(K|0))}}while((z|0)!=(K|0))}else h=m;if((J|0)==(K|0)){f=h;break}else m=h}if((f|0)>0){h=0;o=0;p=0;while(1){aa=k+(p<<4)|0;c[ha+136>>2]=c[aa>>2];c[ha+136+4>>2]=c[aa+4>>2];c[ha+136+8>>2]=c[aa+8>>2];q=+g[k+(p<<4)+12>>2];q=q-+nb[c[(c[d>>2]|0)+48>>2]&15](d);do if((p|0)==(h|0)){n=h|0?h<<1:1;if((h|0)<(n|0)){if((n|0)!=0?(c[6995]=(c[6995]|0)+1,M=sc((n<<4|3)+16|0)|0,(M|0)!=0):0){c[(M+4+15&-16)+-4>>2]=M;m=M+4+15&-16}else m=0;if((h|0)<=0){if(!o)break}else{i=0;do{aa=m+(i<<4)|0;$=o+(i<<4)|0;c[aa>>2]=c[$>>2];c[aa+4>>2]=c[$+4>>2];c[aa+8>>2]=c[$+8>>2];c[aa+12>>2]=c[$+12>>2];i=i+1|0}while((i|0)!=(h|0))}c[6996]=(c[6996]|0)+1;Cd(c[o+-4>>2]|0)}else{n=h;m=o}}else{n=h;m=o;h=p}while(0);aa=m+(h<<4)|0;c[aa>>2]=c[ha+136>>2];c[aa+4>>2]=c[ha+136+4>>2];c[aa+8>>2]=c[ha+136+8>>2];g[m+(h<<4)+12>>2]=q;p=p+1|0;if((p|0)<(f|0)){h=n;o=m}else break}if((p|0)>0){G=0;o=0;n=0;i=0;h=0;do{z=G;G=G+1|0;if((G|0)<(p|0)){A=G;do{y=A;A=A+1|0;if((A|0)<(p|0)){x=A;do{t=+g[m+(y<<4)+4>>2];q=+g[m+(x<<4)+8>>2];r=+g[m+(y<<4)+8>>2];u=+g[m+(x<<4)+4>>2];v=+g[m+(x<<4)>>2];B=+g[m+(y<<4)>>2];s=+g[m+(z<<4)+8>>2];E=+g[m+(z<<4
|
||
|
|
||
|
// EMSCRIPTEN_END_FUNCS
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mf,Fx,Ex,XE,XE,XE,XE,xd,ai,Sj,yk,Mt,Bh,su,gf,Me,Me,ph,al,Uj,So,li,al,Zh,XE,nm,Bo,wm,jm,Kl,Zj,gn,hn,fn,Vn,mo,qf,ro,XE,XE,XE,XE,Zp,lp,mp,Ql,zj,$h,hp,XE,XE,XE,XE,zi,Nd,Yh,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI,bI];var Tb=[fH,Jz,oc,ae,$e,Jz,Ej,Be,xm,en,fH,fH,fH,fH,fH,fH];var Ub=[pC];var Vb=[zG,_e,jB,jB,jB,Xf,Ff,cu,Nj,Ar,Nu,Gk,Kc,Ec,Lf,Ht,th,Pf,kc,Ou,Km,sl,kp,Ff,We,Og,_f,Fe,Tt,Zs,C
|
||
|
|
||
|
|
||
|
// EMSCRIPTEN_END_ASM
|
||
|
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__sub_I_btConeTwistConstraint_cpp=Module["__GLOBAL__sub_I_btConeTwistConstraint_cpp"]=asm["__GLOBAL__sub_I_btConeTwistConstraint_cpp"];var __GLOBAL__sub_I_btQuickprof_cpp=Module["__GLOBAL__sub_I_btQuickprof_cpp"]=asm["__GLOBAL__sub_I_btQuickprof_cpp"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _emscripten_bind_Anchor___destroy___0=Module["_emscripten_bind_Anchor___destroy___0"]=asm["_emscripten_bind_Anchor___destroy___0"];var _emscripten_bind_Anchor_get_m_body_0=Module["_emscripten_bind_Anchor_get_m_body_0"]=asm["_emscripten_bind_Anchor_get_m_body_0"];var _emscripten_bind_Anchor_get_m_c0_0=Module["_emscripten_bind_Anchor_get_m_c0_0"]=asm["_emscripten_bind_Anchor_get_m_c0_0"];var _emscripten_bind_Anchor_get_m_c1_0=Module["_emscripten_bind_Anchor_get_m_c1_0"]=asm["_emscripten_bind_Anchor_get_m_c1_0"];var _emscripten_bind_Anchor_get_m_c2_0=Module["_emscripten_bind_Anchor_get_m_c2_0"]=asm["_emscripten_bind_Anchor_get_m_c2_0"];var _emscripten_bind_Anchor_get_m_influence_0=Module["_emscripten_bind_Anchor_get_m_influence_0"]=asm["_emscripten_bind_Anchor_get_m_influence_0"];var _emscripten_bind_Anchor_get_m_local_0=Module["_emscripten_bind_Anchor_get_m_local_0"]=asm["_emscripten_bind_Anchor_get_m_local_0"];var _emscripten_bind_Anchor_get_m_node_0=Module["_emscripten_bind_Anchor_get_m_node_0"]=asm["_emscripten_bind_Anchor_get_m_node_0"];var _emscripten_bind_Anchor_set_m_body_1=Module["_emscripten_bind_Anchor_set_m_body_1"]=asm["_emscripten_bind_Anchor_set_m_body_1"];var _emscripten_bind_Anchor_set_m_c0_1=Module["_emscripten_bind_Anchor_set_m_c0_1"]=asm["_emscripten_bind_Anchor_set_m_c0_1"];var _emscripten_bind_Anchor_set_m_c1_1=Module["_emscripten_bind_Anchor_set_m_c1_1"]=asm["_emscripten_bind_Anchor_set_m_c1_1"];var _emscripten_bind_Anchor_set_m_c2_1=Module["_emscripten_bind_Anchor_set_m_c2_1"]=asm["_emscripten_bind_Anchor_set_m_c2_1"];var _emscripten_bind_Anchor_set_m_influence_1=Module["_emscripten_bind_Anchor_set_m_influence_1"]=asm["_emscripten_bind_Anchor_set_m_influence_1"];var _emscripten_bind_Anchor_set_m_local_1=Module["_emscripten_bind_Anchor_set_m_local_1"]=asm["_emscripten_bind_Anchor_set_m_local_1"];var _emscripten_bind_Anchor_set_m_node_1=Module["_emscripten_bind_Anchor_set_m_node_1"]=asm["_emscripten_bind_Anchor_set_m_node_1"];var _emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2=Module["_emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2"]=asm["_emscripten_bind_ClosestConvexResultCallback_ClosestConvexResultCallback_2"];var _emscripten_bind_ClosestConvexResultCallback___destroy___0=Module["_emscripten_bind_ClosestConvexResultCallback___destroy___0"]=asm["_emscripten_bind_ClosestConvexResultCallback___destroy___0"];var _emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0=Module["_emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0"]=asm["_emscripten_bind_ClosestConvexResultCallback_get_m_closestHitFraction_0"];var _emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0=Module["_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0"]=asm["_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterGroup_0"];var _emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0=Module["_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0"]=asm["_emscripten_bind_ClosestConvexResultCallback_get_m_collisionFilterMask_0"];var _emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0=Module["_emscripten_bind_ClosestConvexResultCallback_get_m_convexFromWorld_0"]=asm["_emscripten_bind_Clos
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
return Ammo;
|
||
|
};
|
||
|
export default Ammo;
|