jolt-physics
Version:
A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications
105 lines (103 loc) • 883 kB
JavaScript
// SPDX-FileCopyrightText: 2022-2024 Jorrit Rouwe
// SPDX-License-Identifier: MIT
// This is Web Assembly version of Jolt Physics, see: https://github.com/jrouwe/JoltPhysics.js
var Jolt = (() => {
var _scriptName = import.meta.url;
return (
async function(moduleArg = {}) {
var moduleRtn;
var c=moduleArg,aa,ba,ca=new Promise((a,b)=>{aa=a;ba=b}),da="object"==typeof window,ea="undefined"!=typeof WorkerGlobalScope,fa="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"renderer"!=process.type;if(fa){const {createRequire:a}=await import("module");var require=a(import.meta.url)}var ha={...c},ia="./this.program",ja="",ka,la;
if(fa){var fs=require("fs"),ma=require("path");import.meta.url.startsWith("data:")||(ja=ma.dirname(require("url").fileURLToPath(import.meta.url))+"/");la=a=>{a=na(a)?new URL(a):a;return fs.readFileSync(a)};ka=async a=>{a=na(a)?new URL(a):a;return fs.readFileSync(a,void 0)};!c.thisProgram&&1<process.argv.length&&(ia=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2)}else if(da||ea)ea?ja=self.location.href:"undefined"!=typeof document&&document.currentScript&&(ja=document.currentScript.src),
_scriptName&&(ja=_scriptName),ja.startsWith("blob:")?ja="":ja=ja.slice(0,ja.replace(/[?#].*/,"").lastIndexOf("/")+1),ea&&(la=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),ka=async a=>{if(na(a))return new Promise((e,g)=>{var h=new XMLHttpRequest;h.open("GET",a,!0);h.responseType="arraybuffer";h.onload=()=>{200==h.status||0==h.status&&h.response?e(h.response):g(h.status)};h.onerror=g;h.send(null)});var b=await fetch(a,{credentials:"same-origin"});
if(b.ok)return b.arrayBuffer();throw Error(b.status+" : "+b.url);};var oa=c.print||console.log.bind(console),qa=c.printErr||console.error.bind(console);Object.assign(c,ha);ha=null;c.thisProgram&&(ia=c.thisProgram);var ra=c.wasmBinary,sa,ta=!1,ua,va,wa,xa,ya,za=!1,na=a=>a.startsWith("file://"),Aa=0,Ba=null;function Ca(a){c.onAbort?.(a);a="Aborted("+a+")";qa(a);ta=!0;a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");ba(a);throw a;}var Da;
async function Ea(a){if(!ra)try{var b=await ka(a);return new Uint8Array(b)}catch{}if(a==Da&&ra)a=new Uint8Array(ra);else if(la)a=la(a);else throw"both async and sync fetching of the wasm failed";return a}async function Fa(a,b){try{var e=await Ea(a);return await WebAssembly.instantiate(e,b)}catch(g){qa(`failed to asynchronously prepare wasm: ${g}`),Ca(g)}}
async function Ga(a){var b=Da;if(!ra&&"function"==typeof WebAssembly.instantiateStreaming&&!na(b)&&!fa)try{var e=fetch(b,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(e,a)}catch(g){qa(`wasm streaming compile failed: ${g}`),qa("falling back to ArrayBuffer instantiation")}return Fa(b,a)}
var Ha=a=>{for(;0<a.length;)a.shift()(c)},Ia=[],Ja=[],Ka=()=>{var a=c.preRun.shift();Ja.unshift(a)},La=(a,b,e,g)=>{if(0<g){g=e+g-1;for(var h=0;h<a.length;++h){var l=a.charCodeAt(h);if(55296<=l&&57343>=l){var w=a.charCodeAt(++h);l=65536+((l&1023)<<10)|w&1023}if(127>=l){if(e>=g)break;b[e++]=l}else{if(2047>=l){if(e+1>=g)break;b[e++]=192|l>>6}else{if(65535>=l){if(e+2>=g)break;b[e++]=224|l>>12}else{if(e+3>=g)break;b[e++]=240|l>>18;b[e++]=128|l>>12&63}b[e++]=128|l>>6&63}b[e++]=128|l&63}}b[e]=0}},Ma=[],
Oa=(a,b,e)=>{Ma.length=0;for(var g;g=va[b++];){var h=105!=g;h&=112!=g;e+=h&&e%8?4:0;Ma.push(112==g?xa[e>>2]:105==g?wa[e>>2]:ya[e>>3]);e+=h?8:4}return Na[a](...Ma)},Pa={},Ra=()=>{if(!Qa){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ia||"./this.program"},b;for(b in Pa)void 0===Pa[b]?delete a[b]:a[b]=Pa[b];var e=[];for(b in a)e.push(`${b}=${a[b]}`);Qa=e}return Qa},
Qa,Sa=[null,[],[]],Ta="undefined"!=typeof TextDecoder?new TextDecoder:void 0,Ua=(a,b=0)=>{for(var e=b+NaN,g=b;a[g]&&!(g>=e);)++g;if(16<g-b&&a.buffer&&Ta)return Ta.decode(a.subarray(b,g));for(e="";b<g;){var h=a[b++];if(h&128){var l=a[b++]&63;if(192==(h&224))e+=String.fromCharCode((h&31)<<6|l);else{var w=a[b++]&63;h=224==(h&240)?(h&15)<<12|l<<6|w:(h&7)<<18|l<<12|w<<6|a[b++]&63;65536>h?e+=String.fromCharCode(h):(h-=65536,e+=String.fromCharCode(55296|h>>10,56320|h&1023))}}else e+=String.fromCharCode(h)}return e},
Va=[],Na={36098:a=>{a=c.getCache(c.PathConstraintPathJS)[a];if(!a.hasOwnProperty("GetPathMaxFraction"))throw"a JSImplementation must implement all functions, you forgot PathConstraintPathJS::GetPathMaxFraction.";return a.GetPathMaxFraction()},36365:(a,b,e)=>{a=c.getCache(c.PathConstraintPathJS)[a];if(!a.hasOwnProperty("GetClosestPoint"))throw"a JSImplementation must implement all functions, you forgot PathConstraintPathJS::GetClosestPoint.";return a.GetClosestPoint(b,e)},36628:(a,b,e,g,h,l)=>{a=c.getCache(c.PathConstraintPathJS)[a];
if(!a.hasOwnProperty("GetPointOnPath"))throw"a JSImplementation must implement all functions, you forgot PathConstraintPathJS::GetPointOnPath.";a.GetPointOnPath(b,e,g,h,l)},36890:(a,b,e)=>{a=c.getCache(c.GroupFilterJS)[a];if(!a.hasOwnProperty("CanCollide"))throw"a JSImplementation must implement all functions, you forgot GroupFilterJS::CanCollide.";return a.CanCollide(b,e)},37124:(a,b)=>{a=c.getCache(c.StateRecorderFilterJS)[a];if(!a.hasOwnProperty("ShouldSaveBody"))throw"a JSImplementation must implement all functions, you forgot StateRecorderFilterJS::ShouldSaveBody.";
return a.ShouldSaveBody(b)},37383:(a,b)=>{a=c.getCache(c.StateRecorderFilterJS)[a];if(!a.hasOwnProperty("ShouldSaveConstraint"))throw"a JSImplementation must implement all functions, you forgot StateRecorderFilterJS::ShouldSaveConstraint.";return a.ShouldSaveConstraint(b)},37660:(a,b,e)=>{a=c.getCache(c.StateRecorderFilterJS)[a];if(!a.hasOwnProperty("ShouldSaveContact"))throw"a JSImplementation must implement all functions, you forgot StateRecorderFilterJS::ShouldSaveContact.";return a.ShouldSaveContact(b,
e)},37931:(a,b,e)=>{a=c.getCache(c.StateRecorderFilterJS)[a];if(!a.hasOwnProperty("ShouldRestoreContact"))throw"a JSImplementation must implement all functions, you forgot StateRecorderFilterJS::ShouldRestoreContact.";return a.ShouldRestoreContact(b,e)},38211:a=>{a=c.getCache(c.StateRecorderJS)[a];if(!a.hasOwnProperty("IsEOF"))throw"a JSImplementation must implement all functions, you forgot StateRecorderJS::IsEOF.";return a.IsEOF()},38429:a=>{a=c.getCache(c.StateRecorderJS)[a];if(!a.hasOwnProperty("IsFailed"))throw"a JSImplementation must implement all functions, you forgot StateRecorderJS::IsFailed.";
return a.IsFailed()},38656:(a,b,e)=>{a=c.getCache(c.StateRecorderJS)[a];if(!a.hasOwnProperty("WriteBytes"))throw"a JSImplementation must implement all functions, you forgot StateRecorderJS::WriteBytes.";a.WriteBytes(b,e)},38887:(a,b,e)=>{a=c.getCache(c.StateRecorderJS)[a];if(!a.hasOwnProperty("ReadBytes"))throw"a JSImplementation must implement all functions, you forgot StateRecorderJS::ReadBytes.";a.ReadBytes(b,e)},39115:(a,b,e,g,h)=>{a=c.getCache(c.ContactListenerJS)[a];if(!a.hasOwnProperty("OnContactAdded"))throw"a JSImplementation must implement all functions, you forgot ContactListenerJS::OnContactAdded.";
a.OnContactAdded(b,e,g,h)},39368:(a,b,e,g,h)=>{a=c.getCache(c.ContactListenerJS)[a];if(!a.hasOwnProperty("OnContactPersisted"))throw"a JSImplementation must implement all functions, you forgot ContactListenerJS::OnContactPersisted.";a.OnContactPersisted(b,e,g,h)},39633:(a,b)=>{a=c.getCache(c.ContactListenerJS)[a];if(!a.hasOwnProperty("OnContactRemoved"))throw"a JSImplementation must implement all functions, you forgot ContactListenerJS::OnContactRemoved.";a.OnContactRemoved(b)},39883:(a,b,e,g,h)=>
{a=c.getCache(c.ContactListenerJS)[a];if(!a.hasOwnProperty("OnContactValidate"))throw"a JSImplementation must implement all functions, you forgot ContactListenerJS::OnContactValidate.";return a.OnContactValidate(b,e,g,h)},40152:(a,b,e)=>{a=c.getCache(c.SoftBodyContactListenerJS)[a];if(!a.hasOwnProperty("OnSoftBodyContactAdded"))throw"a JSImplementation must implement all functions, you forgot SoftBodyContactListenerJS::OnSoftBodyContactAdded.";a.OnSoftBodyContactAdded(b,e)},40439:(a,b,e,g)=>{a=c.getCache(c.SoftBodyContactListenerJS)[a];
if(!a.hasOwnProperty("OnSoftBodyContactValidate"))throw"a JSImplementation must implement all functions, you forgot SoftBodyContactListenerJS::OnSoftBodyContactValidate.";return a.OnSoftBodyContactValidate(b,e,g)},40745:a=>{a=c.getCache(c.RayCastBodyCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot RayCastBodyCollectorJS::Reset.";a.Reset()},40970:(a,b)=>{a=c.getCache(c.RayCastBodyCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot RayCastBodyCollectorJS::AddHit.";
a.AddHit(b)},41200:a=>{a=c.getCache(c.CollideShapeBodyCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot CollideShapeBodyCollectorJS::Reset.";a.Reset()},41435:(a,b)=>{a=c.getCache(c.CollideShapeBodyCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot CollideShapeBodyCollectorJS::AddHit.";a.AddHit(b)},41675:a=>{a=c.getCache(c.CastShapeBodyCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot CastShapeBodyCollectorJS::Reset.";
a.Reset()},41904:(a,b)=>{a=c.getCache(c.CastShapeBodyCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot CastShapeBodyCollectorJS::AddHit.";a.AddHit(b)},42138:a=>{a=c.getCache(c.CastRayCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot CastRayCollectorJS::Reset.";a.Reset()},42355:(a,b)=>{a=c.getCache(c.CastRayCollectorJS)[a];if(!a.hasOwnProperty("OnBody"))throw"a JSImplementation must implement all functions, you forgot CastRayCollectorJS::OnBody.";
a.OnBody(b)},42577:(a,b)=>{a=c.getCache(c.CastRayCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot CastRayCollectorJS::AddHit.";a.AddHit(b)},42799:a=>{a=c.getCache(c.CollidePointCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot CollidePointCollectorJS::Reset.";a.Reset()},43026:(a,b)=>{a=c.getCache(c.CollidePointCollectorJS)[a];if(!a.hasOwnProperty("OnBody"))throw"a JSImplementation must implement all functions, you forgot CollidePointCollectorJS::OnBody.";
a.OnBody(b)},43258:(a,b)=>{a=c.getCache(c.CollidePointCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot CollidePointCollectorJS::AddHit.";a.AddHit(b)},43490:a=>{a=c.getCache(c.CollideShapeCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot CollideShapeCollectorJS::Reset.";a.Reset()},43717:(a,b)=>{a=c.getCache(c.CollideShapeCollectorJS)[a];if(!a.hasOwnProperty("OnBody"))throw"a JSImplementation must implement all functions, you forgot CollideShapeCollectorJS::OnBody.";
a.OnBody(b)},43949:(a,b)=>{a=c.getCache(c.CollideShapeCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot CollideShapeCollectorJS::AddHit.";a.AddHit(b)},44181:a=>{a=c.getCache(c.CastShapeCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot CastShapeCollectorJS::Reset.";a.Reset()},44402:(a,b)=>{a=c.getCache(c.CastShapeCollectorJS)[a];if(!a.hasOwnProperty("OnBody"))throw"a JSImplementation must implement all functions, you forgot CastShapeCollectorJS::OnBody.";
a.OnBody(b)},44628:(a,b)=>{a=c.getCache(c.CastShapeCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot CastShapeCollectorJS::AddHit.";a.AddHit(b)},44854:a=>{a=c.getCache(c.TransformedShapeCollectorJS)[a];if(!a.hasOwnProperty("Reset"))throw"a JSImplementation must implement all functions, you forgot TransformedShapeCollectorJS::Reset.";a.Reset()},45089:(a,b)=>{a=c.getCache(c.TransformedShapeCollectorJS)[a];if(!a.hasOwnProperty("OnBody"))throw"a JSImplementation must implement all functions, you forgot TransformedShapeCollectorJS::OnBody.";
a.OnBody(b)},45329:(a,b)=>{a=c.getCache(c.TransformedShapeCollectorJS)[a];if(!a.hasOwnProperty("AddHit"))throw"a JSImplementation must implement all functions, you forgot TransformedShapeCollectorJS::AddHit.";a.AddHit(b)},45569:(a,b)=>{a=c.getCache(c.PhysicsStepListenerJS)[a];if(!a.hasOwnProperty("OnStep"))throw"a JSImplementation must implement all functions, you forgot PhysicsStepListenerJS::OnStep.";a.OnStep(b)},45797:(a,b,e)=>{a=c.getCache(c.BodyActivationListenerJS)[a];if(!a.hasOwnProperty("OnBodyActivated"))throw"a JSImplementation must implement all functions, you forgot BodyActivationListenerJS::OnBodyActivated.";
a.OnBodyActivated(b,e)},46061:(a,b,e)=>{a=c.getCache(c.BodyActivationListenerJS)[a];if(!a.hasOwnProperty("OnBodyDeactivated"))throw"a JSImplementation must implement all functions, you forgot BodyActivationListenerJS::OnBodyDeactivated.";a.OnBodyDeactivated(b,e)},46331:(a,b,e,g,h)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnAdjustBodyVelocity"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnAdjustBodyVelocity.";a.OnAdjustBodyVelocity(b,
e,g,h)},46620:(a,b,e,g)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnContactValidate"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnContactValidate.";return a.OnContactValidate(b,e,g)},46904:(a,b,e,g)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnCharacterContactValidate"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnCharacterContactValidate.";
return a.OnCharacterContactValidate(b,e,g)},47215:(a,b,e,g)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnContactRemoved"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnContactRemoved.";a.OnContactRemoved(b,e,g)},47489:(a,b,e,g)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnCharacterContactRemoved"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnCharacterContactRemoved.";
a.OnCharacterContactRemoved(b,e,g)},47790:(a,b,e,g,h,l,w)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnContactAdded"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnContactAdded.";a.OnContactAdded(b,e,g,h,l,w)},48067:(a,b,e,g,h,l,w)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnContactPersisted"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnContactPersisted.";
a.OnContactPersisted(b,e,g,h,l,w)},48356:(a,b,e,g,h,l,w)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnCharacterContactAdded"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnCharacterContactAdded.";a.OnCharacterContactAdded(b,e,g,h,l,w)},48660:(a,b,e,g,h,l,w)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnCharacterContactPersisted"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnCharacterContactPersisted.";
a.OnCharacterContactPersisted(b,e,g,h,l,w)},48976:(a,b,e,g,h,l,w,L,pa,Ub)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnContactSolve"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnContactSolve.";a.OnContactSolve(b,e,g,h,l,w,L,pa,Ub)},49262:(a,b,e,g,h,l,w,L,pa,Ub)=>{a=c.getCache(c.CharacterContactListenerJS)[a];if(!a.hasOwnProperty("OnCharacterContactSolve"))throw"a JSImplementation must implement all functions, you forgot CharacterContactListenerJS::OnCharacterContactSolve.";
a.OnCharacterContactSolve(b,e,g,h,l,w,L,pa,Ub)},49575:(a,b,e)=>{a=c.getCache(c.ObjectVsBroadPhaseLayerFilterJS)[a];if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot ObjectVsBroadPhaseLayerFilterJS::ShouldCollide.";return a.ShouldCollide(b,e)},49854:(a,b)=>{a=c.getCache(c.ObjectLayerFilterJS)[a];if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot ObjectLayerFilterJS::ShouldCollide.";return a.ShouldCollide(b)},
50106:(a,b,e)=>{a=c.getCache(c.ObjectLayerPairFilterJS)[a];if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot ObjectLayerPairFilterJS::ShouldCollide.";return a.ShouldCollide(b,e)},50369:(a,b)=>{a=c.getCache(c.BodyFilterJS)[a];if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot BodyFilterJS::ShouldCollide.";return a.ShouldCollide(b)},50607:(a,b)=>{a=c.getCache(c.BodyFilterJS)[a];if(!a.hasOwnProperty("ShouldCollideLocked"))throw"a JSImplementation must implement all functions, you forgot BodyFilterJS::ShouldCollideLocked.";
return a.ShouldCollideLocked(b)},50863:(a,b,e)=>{a=c.getCache(c.ShapeFilterJS)[a];if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot ShapeFilterJS::ShouldCollide.";return a.ShouldCollide(b,e)},51106:(a,b,e,g,h)=>{a=c.getCache(c.ShapeFilterJS2)[a];if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot ShapeFilterJS2::ShouldCollide.";return a.ShouldCollide(b,e,g,h)},51357:(a,b,e,g,h,l,w)=>{a=c.getCache(c.SimShapeFilterJS)[a];
if(!a.hasOwnProperty("ShouldCollide"))throw"a JSImplementation must implement all functions, you forgot SimShapeFilterJS::ShouldCollide.";return a.ShouldCollide(b,e,g,h,l,w)},51618:(a,b,e,g,h,l)=>{a=c.getCache(c.VehicleConstraintCallbacksJS)[a];if(!a.hasOwnProperty("GetCombinedFriction"))throw"a JSImplementation must implement all functions, you forgot VehicleConstraintCallbacksJS::GetCombinedFriction.";return a.GetCombinedFriction(b,e,g,h,l)},51918:(a,b,e)=>{a=c.getCache(c.VehicleConstraintCallbacksJS)[a];
if(!a.hasOwnProperty("OnPreStepCallback"))throw"a JSImplementation must implement all functions, you forgot VehicleConstraintCallbacksJS::OnPreStepCallback.";a.OnPreStepCallback(b,e)},52196:(a,b,e)=>{a=c.getCache(c.VehicleConstraintCallbacksJS)[a];if(!a.hasOwnProperty("OnPostCollideCallback"))throw"a JSImplementation must implement all functions, you forgot VehicleConstraintCallbacksJS::OnPostCollideCallback.";a.OnPostCollideCallback(b,e)},52486:(a,b,e)=>{a=c.getCache(c.VehicleConstraintCallbacksJS)[a];
if(!a.hasOwnProperty("OnPostStepCallback"))throw"a JSImplementation must implement all functions, you forgot VehicleConstraintCallbacksJS::OnPostStepCallback.";a.OnPostStepCallback(b,e)},52767:(a,b,e,g,h,l,w,L,pa)=>{a=c.getCache(c.WheeledVehicleControllerCallbacksJS)[a];if(!a.hasOwnProperty("OnTireMaxImpulseCallback"))throw"a JSImplementation must implement all functions, you forgot WheeledVehicleControllerCallbacksJS::OnTireMaxImpulseCallback.";a.OnTireMaxImpulseCallback(b,e,g,h,l,w,L,pa)},53098:a=>
{a=c.getCache(c.BroadPhaseLayerInterfaceJS)[a];if(!a.hasOwnProperty("GetNumBroadPhaseLayers"))throw"a JSImplementation must implement all functions, you forgot BroadPhaseLayerInterfaceJS::GetNumBroadPhaseLayers.";return a.GetNumBroadPhaseLayers()},53389:(a,b)=>{a=c.getCache(c.BroadPhaseLayerInterfaceJS)[a];if(!a.hasOwnProperty("GetBPLayer"))throw"a JSImplementation must implement all functions, you forgot BroadPhaseLayerInterfaceJS::GetBPLayer.";return a.GetBPLayer(b)},53646:()=>ua.length},Wa={i:()=>
Ca(""),l:(a,b,e,g)=>{var h=(new Date).getFullYear(),l=(new Date(h,0,1)).getTimezoneOffset();h=(new Date(h,6,1)).getTimezoneOffset();xa[a>>2]=60*Math.max(l,h);wa[b>>2]=Number(l!=h);b=w=>{var L=Math.abs(w);return`UTC${0<=w?"-":"+"}${String(Math.floor(L/60)).padStart(2,"0")}${String(L%60).padStart(2,"0")}`};a=b(l);b=b(h);h<l?(La(a,va,e,17),La(b,va,g,17)):(La(a,va,g,17),La(b,va,e,17))},c:(a,b,e)=>Oa(a,b,e),a:(a,b,e)=>Oa(a,b,e),n:(a,b,e)=>Oa(a,b,e),k:()=>va.length,b:()=>performance.now(),h:()=>{Ca("OOM")},
m:(a,b)=>{var e=0;Ra().forEach((g,h)=>{var l=b+e;h=xa[a+4*h>>2]=l;for(l=0;l<g.length;++l)ua[h++]=g.charCodeAt(l);ua[h]=0;e+=g.length+1});return 0},e:(a,b)=>{var e=Ra();xa[a>>2]=e.length;var g=0;e.forEach(h=>g+=h.length+1);xa[b>>2]=g;return 0},f:()=>52,g:()=>52,j:function(){return 70},d:(a,b,e,g)=>{for(var h=0,l=0;l<e;l++){var w=xa[b>>2],L=xa[b+4>>2];b+=8;for(var pa=0;pa<L;pa++){var Ub=a,lf=va[w+pa],kg=Sa[Ub];0===lf||10===lf?((1===Ub?oa:qa)(Ua(kg)),kg.length=0):kg.push(lf)}h+=L}xa[g>>2]=h;return 0}},
d=await (async function(){function a(g){d=g.exports;sa=d.o;g=sa.buffer;c.HEAP8=ua=new Int8Array(g);c.HEAP16=new Int16Array(g);c.HEAPU8=va=new Uint8Array(g);c.HEAPU16=new Uint16Array(g);c.HEAP32=wa=new Int32Array(g);c.HEAPU32=xa=new Uint32Array(g);c.HEAPF32=new Float32Array(g);c.HEAPF64=ya=new Float64Array(g);Aa--;c.monitorRunDependencies?.(Aa);0==Aa&&Ba&&(g=Ba,Ba=null,g());return d}Aa++;c.monitorRunDependencies?.(Aa);var b={a:Wa};if(c.instantiateWasm)return new Promise(g=>{c.instantiateWasm(b,
(h,l)=>{a(h,l);g(h.exports)})});Da??=c.locateFile?c.locateFile?c.locateFile("jolt-physics.wasm.wasm",ja):ja+"jolt-physics.wasm.wasm":(new URL("jolt-physics.wasm.wasm",import.meta.url)).href;try{var e=await Ga(b);return a(e.instance)}catch(g){return ba(g),Promise.reject(g)}}());c._webidl_free=d.q;c._webidl_malloc=d.r;
var Xa=c._emscripten_bind_ShapeSettings_GetRefCount_0=d.s,Ya=c._emscripten_bind_ShapeSettings_AddRef_0=d.t,Za=c._emscripten_bind_ShapeSettings_Release_0=d.u,$a=c._emscripten_bind_ShapeSettings_Create_0=d.w,ab=c._emscripten_bind_ShapeSettings_ClearCachedResult_0=d.x,bb=c._emscripten_bind_ShapeSettings_get_mUserData_0=d.y,cb=c._emscripten_bind_ShapeSettings_set_mUserData_1=d.z,db=c._emscripten_bind_ShapeSettings___destroy___0=d.A,eb=c._emscripten_bind_Shape_GetRefCount_0=d.B,fb=c._emscripten_bind_Shape_AddRef_0=
d.C,gb=c._emscripten_bind_Shape_Release_0=d.D,hb=c._emscripten_bind_Shape_GetType_0=d.E,ib=c._emscripten_bind_Shape_GetSubType_0=d.F,jb=c._emscripten_bind_Shape_MustBeStatic_0=d.G,kb=c._emscripten_bind_Shape_GetLocalBounds_0=d.H,lb=c._emscripten_bind_Shape_GetWorldSpaceBounds_2=d.I,mb=c._emscripten_bind_Shape_GetCenterOfMass_0=d.J,nb=c._emscripten_bind_Shape_GetUserData_0=d.K,ob=c._emscripten_bind_Shape_SetUserData_1=d.L,pb=c._emscripten_bind_Shape_GetSubShapeIDBitsRecursive_0=d.M,qb=c._emscripten_bind_Shape_GetInnerRadius_0=
d.N,rb=c._emscripten_bind_Shape_GetMassProperties_0=d.O,sb=c._emscripten_bind_Shape_GetLeafShape_2=d.P,tb=c._emscripten_bind_Shape_GetMaterial_1=d.Q,ub=c._emscripten_bind_Shape_GetSurfaceNormal_2=d.R,vb=c._emscripten_bind_Shape_GetSubShapeUserData_1=d.S,wb=c._emscripten_bind_Shape_GetSubShapeTransformedShape_5=d.T,xb=c._emscripten_bind_Shape_GetVolume_0=d.U,yb=c._emscripten_bind_Shape_IsValidScale_1=d.V,zb=c._emscripten_bind_Shape_MakeScaleValid_1=d.W,Ab=c._emscripten_bind_Shape_ScaleShape_1=d.X,
Bb=c._emscripten_bind_Shape___destroy___0=d.Y,Cb=c._emscripten_bind_ConstraintSettings_GetRefCount_0=d.Z,Db=c._emscripten_bind_ConstraintSettings_AddRef_0=d._,Eb=c._emscripten_bind_ConstraintSettings_Release_0=d.$,Fb=c._emscripten_bind_ConstraintSettings_get_mEnabled_0=d.aa,Gb=c._emscripten_bind_ConstraintSettings_set_mEnabled_1=d.ba,Hb=c._emscripten_bind_ConstraintSettings_get_mNumVelocityStepsOverride_0=d.ca,Ib=c._emscripten_bind_ConstraintSettings_set_mNumVelocityStepsOverride_1=d.da,Jb=c._emscripten_bind_ConstraintSettings_get_mNumPositionStepsOverride_0=
d.ea,Kb=c._emscripten_bind_ConstraintSettings_set_mNumPositionStepsOverride_1=d.fa,Lb=c._emscripten_bind_ConstraintSettings___destroy___0=d.ga,Mb=c._emscripten_bind_Constraint_GetRefCount_0=d.ha,Nb=c._emscripten_bind_Constraint_AddRef_0=d.ia,Ob=c._emscripten_bind_Constraint_Release_0=d.ja,Pb=c._emscripten_bind_Constraint_GetType_0=d.ka,Qb=c._emscripten_bind_Constraint_GetSubType_0=d.la,Rb=c._emscripten_bind_Constraint_GetConstraintPriority_0=d.ma,Sb=c._emscripten_bind_Constraint_SetConstraintPriority_1=
d.na,Tb=c._emscripten_bind_Constraint_SetNumVelocityStepsOverride_1=d.oa,Vb=c._emscripten_bind_Constraint_GetNumVelocityStepsOverride_0=d.pa,Wb=c._emscripten_bind_Constraint_SetNumPositionStepsOverride_1=d.qa,Xb=c._emscripten_bind_Constraint_GetNumPositionStepsOverride_0=d.ra,Yb=c._emscripten_bind_Constraint_SetEnabled_1=d.sa,Zb=c._emscripten_bind_Constraint_GetEnabled_0=d.ta,$b=c._emscripten_bind_Constraint_IsActive_0=d.ua,ac=c._emscripten_bind_Constraint_GetUserData_0=d.va,bc=c._emscripten_bind_Constraint_SetUserData_1=
d.wa,cc=c._emscripten_bind_Constraint_ResetWarmStart_0=d.xa,dc=c._emscripten_bind_Constraint_SaveState_1=d.ya,ec=c._emscripten_bind_Constraint_RestoreState_1=d.za,fc=c._emscripten_bind_Constraint___destroy___0=d.Aa,gc=c._emscripten_bind_PathConstraintPath_IsLooping_0=d.Ba,hc=c._emscripten_bind_PathConstraintPath_SetIsLooping_1=d.Ca,ic=c._emscripten_bind_PathConstraintPath_GetRefCount_0=d.Da,jc=c._emscripten_bind_PathConstraintPath_AddRef_0=d.Ea,kc=c._emscripten_bind_PathConstraintPath_Release_0=d.Fa,
lc=c._emscripten_bind_PathConstraintPath___destroy___0=d.Ga,mc=c._emscripten_bind_StateRecorder_SetValidating_1=d.Ha,nc=c._emscripten_bind_StateRecorder_IsValidating_0=d.Ia,oc=c._emscripten_bind_StateRecorder_SetIsLastPart_1=d.Ja,pc=c._emscripten_bind_StateRecorder_IsLastPart_0=d.Ka,qc=c._emscripten_bind_StateRecorder___destroy___0=d.La,rc=c._emscripten_bind_ContactListener___destroy___0=d.Ma,sc=c._emscripten_bind_SoftBodyContactListener___destroy___0=d.Na,tc=c._emscripten_bind_CharacterContactListener___destroy___0=
d.Oa,uc=c._emscripten_bind_ObjectVsBroadPhaseLayerFilter_ObjectVsBroadPhaseLayerFilter_0=d.Pa,vc=c._emscripten_bind_ObjectVsBroadPhaseLayerFilter___destroy___0=d.Qa,wc=c._emscripten_bind_VehicleControllerSettings___destroy___0=d.Ra,xc=c._emscripten_bind_VehicleController_GetConstraint_0=d.Sa,yc=c._emscripten_bind_VehicleController___destroy___0=d.Ta,zc=c._emscripten_bind_BroadPhaseLayerInterface_GetNumBroadPhaseLayers_0=d.Ua,Ac=c._emscripten_bind_BroadPhaseLayerInterface___destroy___0=d.Va,Bc=c._emscripten_bind_BroadPhaseCastResult_BroadPhaseCastResult_0=
d.Wa,Cc=c._emscripten_bind_BroadPhaseCastResult_Reset_0=d.Xa,Dc=c._emscripten_bind_BroadPhaseCastResult_get_mBodyID_0=d.Ya,Ec=c._emscripten_bind_BroadPhaseCastResult_set_mBodyID_1=d.Za,Fc=c._emscripten_bind_BroadPhaseCastResult_get_mFraction_0=d._a,Gc=c._emscripten_bind_BroadPhaseCastResult_set_mFraction_1=d.$a,Hc=c._emscripten_bind_BroadPhaseCastResult___destroy___0=d.ab,Ic=c._emscripten_bind_ConvexShapeSettings_GetRefCount_0=d.bb,Jc=c._emscripten_bind_ConvexShapeSettings_AddRef_0=d.cb,Kc=c._emscripten_bind_ConvexShapeSettings_Release_0=
d.db,Lc=c._emscripten_bind_ConvexShapeSettings_Create_0=d.eb,Mc=c._emscripten_bind_ConvexShapeSettings_ClearCachedResult_0=d.fb,Nc=c._emscripten_bind_ConvexShapeSettings_get_mMaterial_0=d.gb,Oc=c._emscripten_bind_ConvexShapeSettings_set_mMaterial_1=d.hb,Pc=c._emscripten_bind_ConvexShapeSettings_get_mDensity_0=d.ib,Qc=c._emscripten_bind_ConvexShapeSettings_set_mDensity_1=d.jb,Rc=c._emscripten_bind_ConvexShapeSettings_get_mUserData_0=d.kb,Sc=c._emscripten_bind_ConvexShapeSettings_set_mUserData_1=d.lb,
Tc=c._emscripten_bind_ConvexShapeSettings___destroy___0=d.mb,Uc=c._emscripten_bind_ConvexShape_SetMaterial_1=d.nb,Vc=c._emscripten_bind_ConvexShape_GetDensity_0=d.ob,Wc=c._emscripten_bind_ConvexShape_SetDensity_1=d.pb,Xc=c._emscripten_bind_ConvexShape_GetRefCount_0=d.qb,Yc=c._emscripten_bind_ConvexShape_AddRef_0=d.rb,Zc=c._emscripten_bind_ConvexShape_Release_0=d.sb,$c=c._emscripten_bind_ConvexShape_GetType_0=d.tb,ad=c._emscripten_bind_ConvexShape_GetSubType_0=d.ub,bd=c._emscripten_bind_ConvexShape_MustBeStatic_0=
d.vb,cd=c._emscripten_bind_ConvexShape_GetLocalBounds_0=d.wb,dd=c._emscripten_bind_ConvexShape_GetWorldSpaceBounds_2=d.xb,ed=c._emscripten_bind_ConvexShape_GetCenterOfMass_0=d.yb,fd=c._emscripten_bind_ConvexShape_GetUserData_0=d.zb,gd=c._emscripten_bind_ConvexShape_SetUserData_1=d.Ab,hd=c._emscripten_bind_ConvexShape_GetSubShapeIDBitsRecursive_0=d.Bb,jd=c._emscripten_bind_ConvexShape_GetInnerRadius_0=d.Cb,kd=c._emscripten_bind_ConvexShape_GetMassProperties_0=d.Db,ld=c._emscripten_bind_ConvexShape_GetLeafShape_2=
d.Eb,md=c._emscripten_bind_ConvexShape_GetMaterial_1=d.Fb,nd=c._emscripten_bind_ConvexShape_GetSurfaceNormal_2=d.Gb,od=c._emscripten_bind_ConvexShape_GetSubShapeUserData_1=d.Hb,pd=c._emscripten_bind_ConvexShape_GetSubShapeTransformedShape_5=d.Ib,qd=c._emscripten_bind_ConvexShape_GetVolume_0=d.Jb,rd=c._emscripten_bind_ConvexShape_IsValidScale_1=d.Kb,sd=c._emscripten_bind_ConvexShape_MakeScaleValid_1=d.Lb,td=c._emscripten_bind_ConvexShape_ScaleShape_1=d.Mb,ud=c._emscripten_bind_ConvexShape___destroy___0=
d.Nb,vd=c._emscripten_bind_CompoundShapeSettings_AddShape_4=d.Ob,wd=c._emscripten_bind_CompoundShapeSettings_GetRefCount_0=d.Pb,xd=c._emscripten_bind_CompoundShapeSettings_AddRef_0=d.Qb,yd=c._emscripten_bind_CompoundShapeSettings_Release_0=d.Rb,zd=c._emscripten_bind_CompoundShapeSettings_Create_0=d.Sb,Ad=c._emscripten_bind_CompoundShapeSettings_ClearCachedResult_0=d.Tb,Bd=c._emscripten_bind_CompoundShapeSettings_get_mUserData_0=d.Ub,Cd=c._emscripten_bind_CompoundShapeSettings_set_mUserData_1=d.Vb,
Dd=c._emscripten_bind_CompoundShapeSettings___destroy___0=d.Wb,Ed=c._emscripten_bind_CompoundShape_GetNumSubShapes_0=d.Xb,Fd=c._emscripten_bind_CompoundShape_GetSubShape_1=d.Yb,Gd=c._emscripten_bind_CompoundShape_GetRefCount_0=d.Zb,Hd=c._emscripten_bind_CompoundShape_AddRef_0=d._b,Id=c._emscripten_bind_CompoundShape_Release_0=d.$b,Jd=c._emscripten_bind_CompoundShape_GetType_0=d.ac,Kd=c._emscripten_bind_CompoundShape_GetSubType_0=d.bc,Ld=c._emscripten_bind_CompoundShape_MustBeStatic_0=d.cc,Md=c._emscripten_bind_CompoundShape_GetLocalBounds_0=
d.dc,Nd=c._emscripten_bind_CompoundShape_GetWorldSpaceBounds_2=d.ec,Od=c._emscripten_bind_CompoundShape_GetCenterOfMass_0=d.fc,Pd=c._emscripten_bind_CompoundShape_GetUserData_0=d.gc,Qd=c._emscripten_bind_CompoundShape_SetUserData_1=d.hc,Rd=c._emscripten_bind_CompoundShape_GetSubShapeIDBitsRecursive_0=d.ic,Sd=c._emscripten_bind_CompoundShape_GetInnerRadius_0=d.jc,Td=c._emscripten_bind_CompoundShape_GetMassProperties_0=d.kc,Ud=c._emscripten_bind_CompoundShape_GetLeafShape_2=d.lc,Vd=c._emscripten_bind_CompoundShape_GetMaterial_1=
d.mc,Wd=c._emscripten_bind_CompoundShape_GetSurfaceNormal_2=d.nc,Xd=c._emscripten_bind_CompoundShape_GetSubShapeUserData_1=d.oc,Yd=c._emscripten_bind_CompoundShape_GetSubShapeTransformedShape_5=d.pc,Zd=c._emscripten_bind_CompoundShape_GetVolume_0=d.qc,$d=c._emscripten_bind_CompoundShape_IsValidScale_1=d.rc,ae=c._emscripten_bind_CompoundShape_MakeScaleValid_1=d.sc,be=c._emscripten_bind_CompoundShape_ScaleShape_1=d.tc,ce=c._emscripten_bind_CompoundShape___destroy___0=d.uc,de=c._emscripten_bind_DecoratedShapeSettings_GetRefCount_0=
d.vc,ee=c._emscripten_bind_DecoratedShapeSettings_AddRef_0=d.wc,fe=c._emscripten_bind_DecoratedShapeSettings_Release_0=d.xc,ge=c._emscripten_bind_DecoratedShapeSettings_Create_0=d.yc,he=c._emscripten_bind_DecoratedShapeSettings_ClearCachedResult_0=d.zc,ie=c._emscripten_bind_DecoratedShapeSettings_get_mUserData_0=d.Ac,je=c._emscripten_bind_DecoratedShapeSettings_set_mUserData_1=d.Bc,ke=c._emscripten_bind_DecoratedShapeSettings___destroy___0=d.Cc,le=c._emscripten_bind_DecoratedShape_GetInnerShape_0=
d.Dc,me=c._emscripten_bind_DecoratedShape_GetRefCount_0=d.Ec,ne=c._emscripten_bind_DecoratedShape_AddRef_0=d.Fc,oe=c._emscripten_bind_DecoratedShape_Release_0=d.Gc,pe=c._emscripten_bind_DecoratedShape_GetType_0=d.Hc,qe=c._emscripten_bind_DecoratedShape_GetSubType_0=d.Ic,re=c._emscripten_bind_DecoratedShape_MustBeStatic_0=d.Jc,se=c._emscripten_bind_DecoratedShape_GetLocalBounds_0=d.Kc,te=c._emscripten_bind_DecoratedShape_GetWorldSpaceBounds_2=d.Lc,ue=c._emscripten_bind_DecoratedShape_GetCenterOfMass_0=
d.Mc,ve=c._emscripten_bind_DecoratedShape_GetUserData_0=d.Nc,we=c._emscripten_bind_DecoratedShape_SetUserData_1=d.Oc,xe=c._emscripten_bind_DecoratedShape_GetSubShapeIDBitsRecursive_0=d.Pc,ye=c._emscripten_bind_DecoratedShape_GetInnerRadius_0=d.Qc,ze=c._emscripten_bind_DecoratedShape_GetMassProperties_0=d.Rc,Ae=c._emscripten_bind_DecoratedShape_GetLeafShape_2=d.Sc,Be=c._emscripten_bind_DecoratedShape_GetMaterial_1=d.Tc,Ce=c._emscripten_bind_DecoratedShape_GetSurfaceNormal_2=d.Uc,De=c._emscripten_bind_DecoratedShape_GetSubShapeUserData_1=
d.Vc,Ee=c._emscripten_bind_DecoratedShape_GetSubShapeTransformedShape_5=d.Wc,Fe=c._emscripten_bind_DecoratedShape_GetVolume_0=d.Xc,Ge=c._emscripten_bind_DecoratedShape_IsValidScale_1=d.Yc,He=c._emscripten_bind_DecoratedShape_MakeScaleValid_1=d.Zc,Ie=c._emscripten_bind_DecoratedShape_ScaleShape_1=d._c,Je=c._emscripten_bind_DecoratedShape___destroy___0=d.$c,Ke=c._emscripten_bind_TwoBodyConstraintSettings_Create_2=d.ad,Le=c._emscripten_bind_TwoBodyConstraintSettings_GetRefCount_0=d.bd,Me=c._emscripten_bind_TwoBodyConstraintSettings_AddRef_0=
d.cd,Ne=c._emscripten_bind_TwoBodyConstraintSettings_Release_0=d.dd,Oe=c._emscripten_bind_TwoBodyConstraintSettings_get_mEnabled_0=d.ed,Pe=c._emscripten_bind_TwoBodyConstraintSettings_set_mEnabled_1=d.fd,Qe=c._emscripten_bind_TwoBodyConstraintSettings_get_mNumVelocityStepsOverride_0=d.gd,Re=c._emscripten_bind_TwoBodyConstraintSettings_set_mNumVelocityStepsOverride_1=d.hd,Se=c._emscripten_bind_TwoBodyConstraintSettings_get_mNumPositionStepsOverride_0=d.id,Te=c._emscripten_bind_TwoBodyConstraintSettings_set_mNumPositionStepsOverride_1=
d.jd,Ue=c._emscripten_bind_TwoBodyConstraintSettings___destroy___0=d.kd,Ve=c._emscripten_bind_TwoBodyConstraint_GetBody1_0=d.ld,We=c._emscripten_bind_TwoBodyConstraint_GetBody2_0=d.md,Xe=c._emscripten_bind_TwoBodyConstraint_GetConstraintToBody1Matrix_0=d.nd,Ye=c._emscripten_bind_TwoBodyConstraint_GetConstraintToBody2Matrix_0=d.od,Ze=c._emscripten_bind_TwoBodyConstraint_GetRefCount_0=d.pd,$e=c._emscripten_bind_TwoBodyConstraint_AddRef_0=d.qd,af=c._emscripten_bind_TwoBodyConstraint_Release_0=d.rd,bf=
c._emscripten_bind_TwoBodyConstraint_GetType_0=d.sd,cf=c._emscripten_bind_TwoBodyConstraint_GetSubType_0=d.td,df=c._emscripten_bind_TwoBodyConstraint_GetConstraintPriority_0=d.ud,ef=c._emscripten_bind_TwoBodyConstraint_SetConstraintPriority_1=d.vd,ff=c._emscripten_bind_TwoBodyConstraint_SetNumVelocityStepsOverride_1=d.wd,gf=c._emscripten_bind_TwoBodyConstraint_GetNumVelocityStepsOverride_0=d.xd,hf=c._emscripten_bind_TwoBodyConstraint_SetNumPositionStepsOverride_1=d.yd,jf=c._emscripten_bind_TwoBodyConstraint_GetNumPositionStepsOverride_0=
d.zd,kf=c._emscripten_bind_TwoBodyConstraint_SetEnabled_1=d.Ad,mf=c._emscripten_bind_TwoBodyConstraint_GetEnabled_0=d.Bd,nf=c._emscripten_bind_TwoBodyConstraint_IsActive_0=d.Cd,of=c._emscripten_bind_TwoBodyConstraint_GetUserData_0=d.Dd,pf=c._emscripten_bind_TwoBodyConstraint_SetUserData_1=d.Ed,qf=c._emscripten_bind_TwoBodyConstraint_ResetWarmStart_0=d.Fd,rf=c._emscripten_bind_TwoBodyConstraint_SaveState_1=d.Gd,sf=c._emscripten_bind_TwoBodyConstraint_RestoreState_1=d.Hd,tf=c._emscripten_bind_TwoBodyConstraint___destroy___0=
d.Id,uf=c._emscripten_bind_PathConstraintPathEm_IsLooping_0=d.Jd,vf=c._emscripten_bind_PathConstraintPathEm_SetIsLooping_1=d.Kd,wf=c._emscripten_bind_PathConstraintPathEm_GetRefCount_0=d.Ld,xf=c._emscripten_bind_PathConstraintPathEm_AddRef_0=d.Md,yf=c._emscripten_bind_PathConstraintPathEm_Release_0=d.Nd,zf=c._emscripten_bind_PathConstraintPathEm___destroy___0=d.Od,Af=c._emscripten_bind_MotionProperties_GetMotionQuality_0=d.Pd,Bf=c._emscripten_bind_MotionProperties_GetAllowedDOFs_0=d.Qd,Cf=c._emscripten_bind_MotionProperties_GetAllowSleeping_0=
d.Rd,Df=c._emscripten_bind_MotionProperties_GetLinearVelocity_0=d.Sd,Ef=c._emscripten_bind_MotionProperties_SetLinearVelocity_1=d.Td,Ff=c._emscripten_bind_MotionProperties_SetLinearVelocityClamped_1=d.Ud,Gf=c._emscripten_bind_MotionProperties_GetAngularVelocity_0=d.Vd,Hf=c._emscripten_bind_MotionProperties_SetAngularVelocity_1=d.Wd,If=c._emscripten_bind_MotionProperties_SetAngularVelocityClamped_1=d.Xd,Jf=c._emscripten_bind_MotionProperties_MoveKinematic_3=d.Yd,Kf=c._emscripten_bind_MotionProperties_GetMaxLinearVelocity_0=
d.Zd,Lf=c._emscripten_bind_MotionProperties_SetMaxLinearVelocity_1=d._d,Mf=c._emscripten_bind_MotionProperties_GetMaxAngularVelocity_0=d.$d,Nf=c._emscripten_bind_MotionProperties_SetMaxAngularVelocity_1=d.ae,Of=c._emscripten_bind_MotionProperties_ClampLinearVelocity_0=d.be,Pf=c._emscripten_bind_MotionProperties_ClampAngularVelocity_0=d.ce,Qf=c._emscripten_bind_MotionProperties_GetLinearDamping_0=d.de,Rf=c._emscripten_bind_MotionProperties_SetLinearDamping_1=d.ee,Sf=c._emscripten_bind_MotionProperties_GetAngularDamping_0=
d.fe,Tf=c._emscripten_bind_MotionProperties_SetAngularDamping_1=d.ge,Uf=c._emscripten_bind_MotionProperties_GetGravityFactor_0=d.he,Vf=c._emscripten_bind_MotionProperties_SetGravityFactor_1=d.ie,Wf=c._emscripten_bind_MotionProperties_SetMassProperties_2=d.je,Xf=c._emscripten_bind_MotionProperties_GetInverseMass_0=d.ke,Yf=c._emscripten_bind_MotionProperties_GetInverseMassUnchecked_0=d.le,Zf=c._emscripten_bind_MotionProperties_SetInverseMass_1=d.me,$f=c._emscripten_bind_MotionProperties_GetInverseInertiaDiagonal_0=
d.ne,ag=c._emscripten_bind_MotionProperties_GetInertiaRotation_0=d.oe,bg=c._emscripten_bind_MotionProperties_SetInverseInertia_2=d.pe,cg=c._emscripten_bind_MotionProperties_ScaleToMass_1=d.qe,dg=c._emscripten_bind_MotionProperties_GetLocalSpaceInverseInertia_0=d.re,eg=c._emscripten_bind_MotionProperties_GetInverseInertiaForRotation_1=d.se,fg=c._emscripten_bind_MotionProperties_MultiplyWorldSpaceInverseInertiaByVector_2=d.te,gg=c._emscripten_bind_MotionProperties_GetPointVelocityCOM_1=d.ue,hg=c._emscripten_bind_MotionProperties_GetAccumulatedForce_0=
d.ve,ig=c._emscripten_bind_MotionProperties_GetAccumulatedTorque_0=d.we,jg=c._emscripten_bind_MotionProperties_ResetForce_0=d.xe,lg=c._emscripten_bind_MotionProperties_ResetTorque_0=d.ye,mg=c._emscripten_bind_MotionProperties_ResetMotion_0=d.ze,ng=c._emscripten_bind_MotionProperties_LockTranslation_1=d.Ae,og=c._emscripten_bind_MotionProperties_LockAngular_1=d.Be,pg=c._emscripten_bind_MotionProperties_SetNumVelocityStepsOverride_1=d.Ce,qg=c._emscripten_bind_MotionProperties_GetNumVelocityStepsOverride_0=
d.De,rg=c._emscripten_bind_MotionProperties_SetNumPositionStepsOverride_1=d.Ee,sg=c._emscripten_bind_MotionProperties_GetNumPositionStepsOverride_0=d.Fe,tg=c._emscripten_bind_MotionProperties___destroy___0=d.Ge,ug=c._emscripten_bind_GroupFilter_GetRefCount_0=d.He,vg=c._emscripten_bind_GroupFilter_AddRef_0=d.Ie,wg=c._emscripten_bind_GroupFilter_Release_0=d.Je,xg=c._emscripten_bind_GroupFilter___destroy___0=d.Ke,yg=c._emscripten_bind_StateRecorderFilter___destroy___0=d.Le,zg=c._emscripten_bind_StateRecorderEm_SetValidating_1=
d.Me,Ag=c._emscripten_bind_StateRecorderEm_IsValidating_0=d.Ne,Bg=c._emscripten_bind_StateRecorderEm_SetIsLastPart_1=d.Oe,Cg=c._emscripten_bind_StateRecorderEm_IsLastPart_0=d.Pe,Dg=c._emscripten_bind_StateRecorderEm___destroy___0=d.Qe,Eg=c._emscripten_bind_BodyLockInterface_TryGetBody_1=d.Re,Fg=c._emscripten_bind_BodyLockInterface___destroy___0=d.Se,Gg=c._emscripten_bind_CollideShapeResult_CollideShapeResult_0=d.Te,Hg=c._emscripten_bind_CollideShapeResult_get_mContactPointOn1_0=d.Ue,Ig=c._emscripten_bind_CollideShapeResult_set_mContactPointOn1_1=
d.Ve,Jg=c._emscripten_bind_CollideShapeResult_get_mContactPointOn2_0=d.We,Kg=c._emscripten_bind_CollideShapeResult_set_mContactPointOn2_1=d.Xe,Lg=c._emscripten_bind_CollideShapeResult_get_mPenetrationAxis_0=d.Ye,Mg=c._emscripten_bind_CollideShapeResult_set_mPenetrationAxis_1=d.Ze,Ng=c._emscripten_bind_CollideShapeResult_get_mPenetrationDepth_0=d._e,Og=c._emscripten_bind_CollideShapeResult_set_mPenetrationDepth_1=d.$e,Pg=c._emscripten_bind_CollideShapeResult_get_mSubShapeID1_0=d.af,Qg=c._emscripten_bind_CollideShapeResult_set_mSubShapeID1_1=
d.bf,Rg=c._emscripten_bind_CollideShapeResult_get_mSubShapeID2_0=d.cf,Sg=c._emscripten_bind_CollideShapeResult_set_mSubShapeID2_1=d.df,Tg=c._emscripten_bind_CollideShapeResult_get_mBodyID2_0=d.ef,Ug=c._emscripten_bind_CollideShapeResult_set_mBodyID2_1=d.ff,Vg=c._emscripten_bind_CollideShapeResult_get_mShape1Face_0=d.gf,Wg=c._emscripten_bind_CollideShapeResult_set_mShape1Face_1=d.hf,Xg=c._emscripten_bind_CollideShapeResult_get_mShape2Face_0=d.jf,Yg=c._emscripten_bind_CollideShapeResult_set_mShape2Face_1=
d.kf,Zg=c._emscripten_bind_CollideShapeResult___destroy___0=d.lf,$g=c._emscripten_bind_ContactListenerEm___destroy___0=d.mf,ah=c._emscripten_bind_SoftBodyContactListenerEm___destroy___0=d.nf,bh=c._emscripten_bind_RayCastBodyCollector_Reset_0=d.of,ch=c._emscripten_bind_RayCastBodyCollector_SetContext_1=d.pf,dh=c._emscripten_bind_RayCastBodyCollector_GetContext_0=d.qf,eh=c._emscripten_bind_RayCastBodyCollector_UpdateEarlyOutFraction_1=d.rf,fh=c._emscripten_bind_RayCastBodyCollector_ResetEarlyOutFraction_0=
d.sf,gh=c._emscripten_bind_RayCastBodyCollector_ResetEarlyOutFraction_1=d.tf,hh=c._emscripten_bind_RayCastBodyCollector_ForceEarlyOut_0=d.uf,ih=c._emscripten_bind_RayCastBodyCollector_ShouldEarlyOut_0=d.vf,jh=c._emscripten_bind_RayCastBodyCollector_GetEarlyOutFraction_0=d.wf,kh=c._emscripten_bind_RayCastBodyCollector_GetPositiveEarlyOutFraction_0=d.xf,lh=c._emscripten_bind_RayCastBodyCollector___destroy___0=d.yf,mh=c._emscripten_bind_CollideShapeBodyCollector_Reset_0=d.zf,nh=c._emscripten_bind_CollideShapeBodyCollector_SetContext_1=
d.Af,oh=c._emscripten_bind_CollideShapeBodyCollector_GetContext_0=d.Bf,ph=c._emscripten_bind_CollideShapeBodyCollector_UpdateEarlyOutFraction_1=d.Cf,qh=c._emscripten_bind_CollideShapeBodyCollector_ResetEarlyOutFraction_0=d.Df,rh=c._emscripten_bind_CollideShapeBodyCollector_ResetEarlyOutFraction_1=d.Ef,sh=c._emscripten_bind_CollideShapeBodyCollector_ForceEarlyOut_0=d.Ff,th=c._emscripten_bind_CollideShapeBodyCollector_ShouldEarlyOut_0=d.Gf,uh=c._emscripten_bind_CollideShapeBodyCollector_GetEarlyOutFraction_0=
d.Hf,vh=c._emscripten_bind_CollideShapeBodyCollector_GetPositiveEarlyOutFraction_0=d.If,wh=c._emscripten_bind_CollideShapeBodyCollector___destroy___0=d.Jf,xh=c._emscripten_bind_CastShapeBodyCollector_Reset_0=d.Kf,yh=c._emscripten_bind_CastShapeBodyCollector_SetContext_1=d.Lf,zh=c._emscripten_bind_CastShapeBodyCollector_GetContext_0=d.Mf,Ah=c._emscripten_bind_CastShapeBodyCollector_UpdateEarlyOutFraction_1=d.Nf,Bh=c._emscripten_bind_CastShapeBodyCollector_ResetEarlyOutFraction_0=d.Of,Ch=c._emscripten_bind_CastShapeBodyCollector_ResetEarlyOutFraction_1=
d.Pf,Dh=c._emscripten_bind_CastShapeBodyCollector_ForceEarlyOut_0=d.Qf,Eh=c._emscripten_bind_CastShapeBodyCollector_ShouldEarlyOut_0=d.Rf,Fh=c._emscripten_bind_CastShapeBodyCollector_GetEarlyOutFraction_0=d.Sf,Gh=c._emscripten_bind_CastShapeBodyCollector_GetPositiveEarlyOutFraction_0=d.Tf,Hh=c._emscripten_bind_CastShapeBodyCollector___destroy___0=d.Uf,Ih=c._emscripten_bind_CastRayCollector_Reset_0=d.Vf,Jh=c._emscripten_bind_CastRayCollector_SetContext_1=d.Wf,Kh=c._emscripten_bind_CastRayCollector_GetContext_0=
d.Xf,Lh=c._emscripten_bind_CastRayCollector_UpdateEarlyOutFraction_1=d.Yf,Mh=c._emscripten_bind_CastRayCollector_ResetEarlyOutFraction_0=d.Zf,Nh=c._emscripten_bind_CastRayCollector_ResetEarlyOutFraction_1=d._f,Oh=c._emscripten_bind_CastRayCollector_ForceEarlyOut_0=d.$f,Ph=c._emscripten_bind_CastRayCollector_ShouldEarlyOut_0=d.ag,Qh=c._emscripten_bind_CastRayCollector_GetEarlyOutFraction_0=d.bg,Rh=c._emscripten_bind_CastRayCollector_GetPositiveEarlyOutFraction_0=d.cg,Sh=c._emscripten_bind_CastRayCollector___destroy___0=
d.dg,Th=c._emscripten_bind_CollidePointCollector_Reset_0=d.eg,Uh=c._emscripten_bind_CollidePointCollector_SetContext_1=d.fg,Vh=c._emscripten_bind_CollidePointCollector_GetContext_0=d.gg,Wh=c._emscripten_bind_CollidePointCollector_UpdateEarlyOutFraction_1=d.hg,Xh=c._emscripten_bind_CollidePointCollector_ResetEarlyOutFraction_0=d.ig,Yh=c._emscripten_bind_CollidePointCollector_ResetEarlyOutFraction_1=d.jg,Zh=c._emscripten_bind_CollidePointCollector_ForceEarlyOut_0=d.kg,$h=c._emscripten_bind_CollidePointCollector_ShouldEarlyOut_0=
d.lg,ai=c._emscripten_bind_CollidePointCollector_GetEarlyOutFraction_0=d.mg,bi=c._emscripten_bind_CollidePointCollector_GetPositiveEarlyOutFraction_0=d.ng,ci=c._emscripten_bind_CollidePointCollector___destroy___0=d.og,di=c._emscripten_bind_CollideSettingsBase_get_mActiveEdgeMode_0=d.pg,ei=c._emscripten_bind_CollideSettingsBase_set_mActiveEdgeMode_1=d.qg,fi=c._emscripten_bind_CollideSettingsBase_get_mCollectFacesMode_0=d.rg,gi=c._emscripten_bind_CollideSettingsBase_set_mCollectFacesMode_1=d.sg,hi=
c._emscripten_bind_CollideSettingsBase_get_mCollisionTolerance_0=d.tg,ii=c._emscripten_bind_CollideSettingsBase_set_mCollisionTolerance_1=d.ug,ji=c._emscripten_bind_CollideSettingsBase_get_mPenetrationTolerance_0=d.vg,ki=c._emscripten_bind_CollideSettingsBase_set_mPenetrationTolerance_1=d.wg,li=c._emscripten_bind_CollideSettingsBase_get_mActiveEdgeMovementDirection_0=d.xg,mi=c._emscripten_bind_CollideSettingsBase_set_mActiveEdgeMovementDirection_1=d.yg,ni=c._emscripten_bind_CollideSettingsBase___destroy___0=
d.zg,oi=c._emscripten_bind_CollideShapeCollector_Reset_0=d.Ag,pi=c._emscripten_bind_CollideShapeCollector_SetContext_1=d.Bg,qi=c._emscripten_bind_CollideShapeCollector_GetContext_0=d.Cg,ri=c._emscripten_bind_CollideShapeCollector_UpdateEarlyOutFraction_1=d.Dg,si=c._emscripten_bind_CollideShapeCollector_ResetEarlyOutFraction_0=d.Eg,ti=c._emscripten_bind_CollideShapeCollector_ResetEarlyOutFraction_1=d.Fg,ui=c._emscripten_bind_CollideShapeCollector_ForceEarlyOut_0=d.Gg,vi=c._emscripten_bind_CollideShapeCollector_ShouldEarlyOut_0=
d.Hg,wi=c._emscripten_bind_CollideShapeCollector_GetEarlyOutFraction_0=d.Ig,xi=c._emscripten_bind_CollideShapeCollector_GetPositiveEarlyOutFraction_0=d.Jg,yi=c._emscripten_bind_CollideShapeCollector___destroy___0=d.Kg,zi=c._emscripten_bind_CastShapeCollector_Reset_0=d.Lg,Ai=c._emscripten_bind_CastShapeCollector_SetContext_1=d.Mg,Bi=c._emscripten_bind_CastShapeCollector_GetContext_0=d.Ng,Ci=c._emscripten_bind_CastShapeCollector_UpdateEarlyOutFraction_1=d.Og,Di=c._emscripten_bind_CastShapeCollector_ResetEarlyOutFraction_0=
d.Pg,Ei=c._emscripten_bind_CastShapeCollector_ResetEarlyOutFraction_1=d.Qg,Fi=c._emscripten_bind_CastShapeCollector_ForceEarlyOut_0=d.Rg,Gi=c._emscripten_bind_CastShapeCollector_ShouldEarlyOut_0=d.Sg,Hi=c._emscripten_bind_CastShapeCollector_GetEarlyOutFraction_0=d.Tg,Ii=c._emscripten_bind_CastShapeCollector_GetPositiveEarlyOutFraction_0=d.Ug,Ji=c._emscripten_bind_CastShapeCollector___destroy___0=d.Vg,Ki=c._emscripten_bind_TransformedShapeCollector_Reset_0=d.Wg,Li=c._emscripten_bind_TransformedShapeCollector_SetContext_1=
d.Xg,Mi=c._emscripten_bind_TransformedShapeCollector_GetContext_0=d.Yg,Ni=c._emscripten_bind_TransformedShapeCollector_UpdateEarlyOutFraction_1=d.Zg,Oi=c._emscripten_bind_TransformedShapeCollector_ResetEarlyOutFraction_0=d._g,Pi=c._emscripten_bind_TransformedShapeCollector_ResetEarlyOutFraction_1=d.$g,Qi=c._emscripten_bind_TransformedShapeCollector_ForceEarlyOut_0=d.ah,Ri=c._emscripten_bind_TransformedShapeCollector_ShouldEarlyOut_0=d.bh,Si=c._emscripten_bind_TransformedShapeCollector_GetEarlyOutFraction_0=
d.ch,Ti=c._emscripten_bind_TransformedShapeCollector_GetPositiveEarlyOutFraction_0=d.dh,Ui=c._emscripten_bind_TransformedShapeCollector___destroy___0=d.eh,Vi=c._emscripten_bind_PhysicsStepListener___destroy___0=d.fh,Wi=c._emscripten_bind_BodyActivationListener___destroy___0=d.gh,Xi=c._emscripten_bind_BodyCreationSettings_BodyCreationSettings_0=d.hh,Yi=c._emscripten_bind_BodyCreationSettings_BodyCreationSettings_5=d.ih,Zi=c._emscripten_bind_BodyCreationSettings_GetShapeSettings_0=d.jh,$i=c._emscripten_bind_BodyCreationSettings_SetShapeSettings_1=
d.kh,aj=c._emscripten_bind_BodyCreationSettings_ConvertShapeSettings_0=d.lh,bj=c._emscripten_bind_BodyCreationSettings_GetShape_0=d.mh,cj=c._emscripten_bind_BodyCreationSettings_SetShape_1=d.nh,dj=c._emscripten_bind_BodyCreationSettings_HasMassProperties_0=d.oh,ej=c._emscripten_bind_BodyCreationSettings_GetMassProperties_0=d.ph,fj=c._emscripten_bind_BodyCreationSettings_get_mPosition_0=d.qh,gj=c._emscripten_bind_BodyCreationSettings_set_mPosition_1=d.rh,hj=c._emscripten_bind_BodyCreationSettings_get_mRotation_0=
d.sh,ij=c._emscripten_bind_BodyCreationSettings_set_mRotation_1=d.th,jj=c._emscripten_bind_BodyCreationSettings_get_mLinearVelocity_0=d.uh,kj=c._emscripten_bind_BodyCreationSettings_set_mLinearVelocity_1=d.vh,lj=c._emscripten_bind_BodyCreationSettings_get_mAngularVelocity_0=d.wh,mj=c._emscripten_bind_BodyCreationSettings_set_mAngularVelocity_1=d.xh,nj=c._emscripten_bind_BodyCreationSettings_get_mUserData_0=d.yh,oj=c._emscripten_bind_BodyCreationSettings_set_mUserData_1=d.zh,pj=c._emscripten_bind_BodyCreationSettings_get_mObjectLayer_0=
d.Ah,qj=c._emscripten_bind_BodyCreationSettings_set_mObjectLayer_1=d.Bh,rj=c._emscripten_bind_BodyCreationSettings_get_mCollisionGroup_0=d.Ch,sj=c._emscripten_bind_BodyCreationSettings_set_mCollisionGroup_1=d.Dh,tj=c._emscripten_bind_BodyCreationSettings_get_mMotionType_0=d.Eh,uj=c._emscripten_bind_BodyCreationSettings_set_mMotionType_1=d.Fh,vj=c._emscripten_bind_BodyCreationSettings_get_mAllowedDOFs_0=d.Gh,wj=c._emscripten_bind_BodyCreationSettings_set_mAllowedDOFs_1=d.Hh,xj=c._emscripten_bind_BodyCreationSettings_get_mAllowDynamicOrKinematic_0=
d.Ih,yj=c._emscripten_bind_BodyCreationSettings_set_mAllowDynamicOrKinematic_1=d.Jh,zj=c._emscripten_bind_BodyCreationSettings_get_mIsSensor_0=d.Kh,Aj=c._emscripten_bind_BodyCreationSettings_set_mIsSensor_1=d.Lh,Bj=c._emscrip