UNPKG

jolt-physics

Version:

A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications

542 lines (540 loc) 14.1 MB
// 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 // This code implements the `-sMODULARIZE` settings by taking the generated // JS program code (INNER_JS_CODE) and wrapping it in a factory function. // When targetting node and ES6 we use `await import ..` in the generated code // so the outer function needs to be marked as async. async function Jolt(moduleArg = {}) { var moduleRtn; (function() { function a(l) { l = l.split("-")[0]; for (l = l.split(".").slice(0, 3); 3 > l.length;) { l.push("00"); } l = l.map(d => d.padStart(2, "0")); return l.join(""); } var c = "undefined" !== typeof process && process.versions?.node ? a(process.versions.node) : 2147483647; if (160400 > c) { throw Error(`This emscripten-generated code requires node v${"16.4.0"} (detected v${[c / 10000 | 0, (c / 100 | 0) % 100, c % 100].join(".")})`); } if (c = "undefined" !== typeof navigator && navigator.userAgent) { var h = c.includes("Safari/") && !c.includes("Chrome/") && c.match(/Version\/(\d+\.?\d*\.?\d*)/) ? a(c.match(/Version\/(\d+\.?\d*\.?\d*)/)[1]) : 2147483647; if (150000 > h) { throw Error(`This emscripten-generated code requires Safari v${"15.0.0"} (detected v${h})`); } h = c.match(/Firefox\/(\d+(?:\.\d+)?)/) ? parseFloat(c.match(/Firefox\/(\d+(?:\.\d+)?)/)[1]) : 2147483647; if (114 > h) { throw Error(`This emscripten-generated code requires Firefox v114 (detected v${h})`); } c = c.match(/Chrome\/(\d+(?:\.\d+)?)/) ? parseFloat(c.match(/Chrome\/(\d+(?:\.\d+)?)/)[1]) : 2147483647; if (85 > c) { throw Error(`This emscripten-generated code requires Chrome v85 (detected v${c})`); } } })(); var b = moduleArg, aa = !!globalThis.window, ba = !!globalThis.WorkerGlobalScope, ca = globalThis.process?.versions?.node && "renderer" != globalThis.process?.type, da = !aa && !ca && !ba, ea = ba && self.name?.startsWith("em-pthread"); ea && (e(!globalThis.tf, "module should only be loaded once on each pthread worker"), globalThis.tf = !0); if (ca) { const {createRequire:a} = await import("module"); var require = a(import.meta.url), fa = require("worker_threads"); global.Worker = fa.Worker; ea = (ba = !fa.Vo) && "em-pthread" == fa.workerData; } var ha = "./this.program", ia = (a, c) => { throw c; }, ja = import.meta.url; if (ca) { if (!globalThis.process?.versions?.node || "renderer" == globalThis.process?.type) { throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)"); } var fs = require("fs"); ja.startsWith("file:") && require("path").dirname(require("url").fileURLToPath(ja)); 1 < process.argv.length && (ha = process.argv[1].replace(/\\/g, "/")); process.argv.slice(2); ia = (a, c) => { process.exitCode = a; throw c; }; } else if (!da) { if (aa || ba) { try { new URL(".", ja); } catch { } if (!globalThis.window && !globalThis.WorkerGlobalScope) { throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)"); } } else { throw Error("environment detection error"); } } var ka = console.log.bind(console), la = console.error.bind(console); if (ca) { var aaa = require("util"), ma = a => "object" == typeof a ? aaa.inspect(a) : a; ka = (...a) => fs.writeSync(1, a.map(ma).join(" ") + "\n"); la = (...a) => fs.writeSync(2, a.map(ma).join(" ") + "\n"); } var na = ka, oa = la; e(aa || ba || ca, "Pthreads do not work in this environment yet (need Web Workers, or an alternative to them)"); e(!da, "shell environment detected but not enabled at build time. Add `shell` to `-sENVIRONMENT` to enable."); globalThis.WebAssembly || oa("no native wasm support detected"); var qa, ra = !1, sa; function e(a, c) { a || ta("Assertion failed" + (c ? ": " + c : "")); } var baa = a => a.startsWith("file://"); function ua() { var a = va(); e(0 == (a & 3)); 0 == a && (a += 4); wa[a >> 2] = 34821223; wa[a + 4 >> 2] = 2310721022; wa[0] = 1668509029; } function xa() { if (!ra) { var a = va(); 0 == a && (a += 4); var c = wa[a >> 2], h = wa[a + 4 >> 2]; 34821223 == c && 2310721022 == h || ta(`Stack overflow! Stack cookie has been overwritten at ${ya(a)}, expected hex dwords 0x89BACDFE and 0x2135467, but received ${ya(h)} ${ya(c)}`); 1668509029 != wa[0] && ta("Runtime error: The application has corrupted its heap memory area (address zero)!"); } } function za(...a) { if (ca) { var c = require("fs"), h = require("util"); c.writeSync(2, a.map(function(l) { switch(typeof l) { case "object": return h.inspect(l); case "undefined": return "undefined"; } return l; }).join(" ") + "\n"); } else { console.warn(...a); } } var Aa = new Int16Array(1), Ba = new Int8Array(Aa.buffer); Aa[0] = 25459; 115 === Ba[0] && 99 === Ba[1] || ta("Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"); function Ca(a) { Object.getOwnPropertyDescriptor(b, a) || Object.defineProperty(b, a, {configurable:!0, set() { ta(`Attempt to set \`Module.${a}\` after it has already been processed. This can happen, for example, when code is injected via '--post-js' rather than '--pre-js'`); }}); } function f(a) { return () => e(!1, `call to '${a}' via reference taken before Wasm module initialization`); } function Da(a) { ea || Object.getOwnPropertyDescriptor(b, a) || Object.defineProperty(b, a, {configurable:!0, get() { var c = `'${a}' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ)`; "FS_createPath" !== a && "FS_createDataFile" !== a && "FS_createPreloadedFile" !== a && "FS_preloadFile" !== a && "FS_unlink" !== a && "addRunDependency" !== a && "FS_createLazyFile" !== a && "FS_createDevice" !== a && "removeRunDependency" !== a || (c += ". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"); ta(c); }}); } (function() { var a = za; za = (...c) => { var h = 0; Ea && "undefined" != typeof Fa && (h = Fa()); h = `w:${Ga},t:${ya(h)}:`; return a(h, ...c); }; })(); function caa(a) { for (var c = 0, h = a.length, l = new Uint8Array(h), d; c < h; ++c) { d = a.charCodeAt(c), l[c] = ~d >> 8 & d; } return l; } var Ha, Ia; if (ca && ea) { var Ja = fa.parentPort; Ja.on("message", a => global.onmessage?.({data:a})); Object.assign(globalThis, {self:global, postMessage:a => Ja.postMessage(a)}); process.on("uncaughtException", a => { postMessage({S:"uncaughtException", error:a}); process.exit(1); }); } var Ga = 0, Ka; if (ea) { var La = !1; self.onunhandledrejection = c => { throw c.reason || c; }; function a(c) { try { var h = c.data, l = h.S; if ("load" === l) { Ga = h.pf; let d = []; self.onmessage = n => d.push(n); Ka = () => { postMessage({S:"loaded"}); for (let n of d) { a(n); } self.onmessage = a; }; for (const n of h.fk) { if (!b[n] || b[n].proxy) { b[n] = (...v) => { postMessage({S:"callHandler", ek:n, args:v}); }, "print" == n && (na = b[n]), "printErr" == n && (oa = b[n]); } } Ma = h.To; Na(); qa = h.Uo; Oa(); Pa(); } else if ("run" === l) { e(h.I); daa(h.I); Qa(h.I, 0, 0, 1, 0, 0); Ra(); Sa(h.I); La ||= !0; try { Ta(h.Ro, h.Fa); } catch (d) { if ("unwind" != d) { throw d; } } } else { "setimmediate" !== h.target && ("checkMailbox" === l ? La && Ua() : l && (oa(`worker: received unknown command ${l}`), oa(h))); } } catch (d) { throw oa(`worker: onmessage() captured an uncaught exception: ${d}`), d?.stack && oa(d.stack), Va(), d; } } self.onmessage = a; } var Wa, Xa, Ya, wa, Za, Ea = !1; function Na() { var a = Ma.buffer; b.HEAP8 = Wa = new Int8Array(a); b.HEAP16 = new Int16Array(a); b.HEAPU8 = Xa = new Uint8Array(a); b.HEAPU16 = new Uint16Array(a); b.HEAP32 = Ya = new Int32Array(a); b.HEAPU32 = wa = new Uint32Array(a); b.HEAPF32 = new Float32Array(a); b.HEAPF64 = Za = new Float64Array(a); } e(globalThis.Int32Array && globalThis.Float64Array && Int32Array.prototype.subarray && Int32Array.prototype.set, "JS engine does not provide full typed array support"); function $a() { e(!Ea); Ea = !0; ea ? Ka() : (xa(), ab(bb), cb.__wasm_call_ctors()); } function ta(a) { b.onAbort?.(a); a = "Aborted(" + a + ")"; oa(a); ra = !0; a = new WebAssembly.RuntimeError(a); Ia?.(a); throw a; } function db() { ta("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM"); } function g(a, c) { return (...h) => { e(Ea, `native function \`${a}\` called before runtime initialization`); var l = cb[a]; e(l, `exported native function \`${a}\` not found`); e(h.length <= c, `native function \`${a}\` called with ${h.length} args but expects ${c}`); return l(...h); }; } var eb; async function eaa(a) { return a; } async function faa(a) { var c = eb; try { var h = await eaa(c); return await WebAssembly.instantiate(h, a); } catch (l) { oa(`failed to asynchronously prepare wasm: ${l}`), baa(c) && oa(`warning: Loading from a file URI (${c}) is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing`), ta(l); } } async function gaa(a) { return faa(a); } function fb() { gb = {__assert_fail:haa, __pthread_create_js:hb, _abort_js:iaa, _emscripten_init_main_thread_js:jaa, _emscripten_notify_mailbox_postmessage:kaa, _emscripten_receive_on_main_thread_js:laa, _emscripten_thread_cleanup:maa, _emscripten_thread_mailbox_await:Sa, _emscripten_thread_set_strongref:naa, _tzset_js:oaa, clock_time_get:paa, emscripten_asm_const_double:qaa, emscripten_asm_const_int:raa, emscripten_asm_const_ptr:saa, emscripten_check_blocking_allowed:taa, emscripten_exit_with_live_runtime:uaa, emscripten_get_heap_max:vaa, emscripten_get_now:waa, emscripten_num_logical_cores:xaa, emscripten_resize_heap:yaa, environ_get:ib, environ_sizes_get:jb, exit:kb, fd_close:lb, fd_read:mb, fd_seek:nb, fd_write:ob, memory:Ma}; return {env:gb, wasi_snapshot_preview1:gb}; } async function Oa() { function a(d, n) { cb = d.exports; pb.push(cb._emscripten_tls_init); d = cb; e("undefined" != typeof d.webidl_free, "missing Wasm export: webidl_free"); e("undefined" != typeof d.webidl_malloc, "missing Wasm export: webidl_malloc"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_GetRefCount_0, "missing Wasm export: emscripten_bind_ShapeSettings_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_AddRef_0, "missing Wasm export: emscripten_bind_ShapeSettings_AddRef_0"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_Release_0, "missing Wasm export: emscripten_bind_ShapeSettings_Release_0"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_Create_0, "missing Wasm export: emscripten_bind_ShapeSettings_Create_0"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_ClearCachedResult_0, "missing Wasm export: emscripten_bind_ShapeSettings_ClearCachedResult_0"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_get_mUserData_0, "missing Wasm export: emscripten_bind_ShapeSettings_get_mUserData_0"); e("undefined" != typeof d.emscripten_bind_ShapeSettings_set_mUserData_1, "missing Wasm export: emscripten_bind_ShapeSettings_set_mUserData_1"); e("undefined" != typeof d.emscripten_bind_ShapeSettings___destroy___0, "missing Wasm export: emscripten_bind_ShapeSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_Shape_GetRefCount_0, "missing Wasm export: emscripten_bind_Shape_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_Shape_AddRef_0, "missing Wasm export: emscripten_bind_Shape_AddRef_0"); e("undefined" != typeof d.emscripten_bind_Shape_Release_0, "missing Wasm export: emscripten_bind_Shape_Release_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetType_0, "missing Wasm export: emscripten_bind_Shape_GetType_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetSubType_0, "missing Wasm export: emscripten_bind_Shape_GetSubType_0"); e("undefined" != typeof d.emscripten_bind_Shape_MustBeStatic_0, "missing Wasm export: emscripten_bind_Shape_MustBeStatic_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetLocalBounds_0, "missing Wasm export: emscripten_bind_Shape_GetLocalBounds_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetWorldSpaceBounds_2, "missing Wasm export: emscripten_bind_Shape_GetWorldSpaceBounds_2"); e("undefined" != typeof d.emscripten_bind_Shape_GetCenterOfMass_0, "missing Wasm export: emscripten_bind_Shape_GetCenterOfMass_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetUserData_0, "missing Wasm export: emscripten_bind_Shape_GetUserData_0"); e("undefined" != typeof d.emscripten_bind_Shape_SetUserData_1, "missing Wasm export: emscripten_bind_Shape_SetUserData_1"); e("undefined" != typeof d.emscripten_bind_Shape_GetSubShapeIDBitsRecursive_0, "missing Wasm export: emscripten_bind_Shape_GetSubShapeIDBitsRecursive_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetInnerRadius_0, "missing Wasm export: emscripten_bind_Shape_GetInnerRadius_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetMassProperties_0, "missing Wasm export: emscripten_bind_Shape_GetMassProperties_0"); e("undefined" != typeof d.emscripten_bind_Shape_GetLeafShape_2, "missing Wasm export: emscripten_bind_Shape_GetLeafShape_2"); e("undefined" != typeof d.emscripten_bind_Shape_GetMaterial_1, "missing Wasm export: emscripten_bind_Shape_GetMaterial_1"); e("undefined" != typeof d.emscripten_bind_Shape_GetSurfaceNormal_2, "missing Wasm export: emscripten_bind_Shape_GetSurfaceNormal_2"); e("undefined" != typeof d.emscripten_bind_Shape_GetSubShapeUserData_1, "missing Wasm export: emscripten_bind_Shape_GetSubShapeUserData_1"); e("undefined" != typeof d.emscripten_bind_Shape_GetSubShapeTransformedShape_5, "missing Wasm export: emscripten_bind_Shape_GetSubShapeTransformedShape_5"); e("undefined" != typeof d.emscripten_bind_Shape_GetVolume_0, "missing Wasm export: emscripten_bind_Shape_GetVolume_0"); e("undefined" != typeof d.emscripten_bind_Shape_IsValidScale_1, "missing Wasm export: emscripten_bind_Shape_IsValidScale_1"); e("undefined" != typeof d.emscripten_bind_Shape_MakeScaleValid_1, "missing Wasm export: emscripten_bind_Shape_MakeScaleValid_1"); e("undefined" != typeof d.emscripten_bind_Shape_ScaleShape_1, "missing Wasm export: emscripten_bind_Shape_ScaleShape_1"); e("undefined" != typeof d.emscripten_bind_Shape___destroy___0, "missing Wasm export: emscripten_bind_Shape___destroy___0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_GetRefCount_0, "missing Wasm export: emscripten_bind_ConstraintSettings_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_AddRef_0, "missing Wasm export: emscripten_bind_ConstraintSettings_AddRef_0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_Release_0, "missing Wasm export: emscripten_bind_ConstraintSettings_Release_0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_get_mEnabled_0, "missing Wasm export: emscripten_bind_ConstraintSettings_get_mEnabled_0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_set_mEnabled_1, "missing Wasm export: emscripten_bind_ConstraintSettings_set_mEnabled_1"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_get_mNumVelocityStepsOverride_0, "missing Wasm export: emscripten_bind_ConstraintSettings_get_mNumVelocityStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_set_mNumVelocityStepsOverride_1, "missing Wasm export: emscripten_bind_ConstraintSettings_set_mNumVelocityStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_get_mNumPositionStepsOverride_0, "missing Wasm export: emscripten_bind_ConstraintSettings_get_mNumPositionStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings_set_mNumPositionStepsOverride_1, "missing Wasm export: emscripten_bind_ConstraintSettings_set_mNumPositionStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_ConstraintSettings___destroy___0, "missing Wasm export: emscripten_bind_ConstraintSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_Constraint_GetRefCount_0, "missing Wasm export: emscripten_bind_Constraint_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_Constraint_AddRef_0, "missing Wasm export: emscripten_bind_Constraint_AddRef_0"); e("undefined" != typeof d.emscripten_bind_Constraint_Release_0, "missing Wasm export: emscripten_bind_Constraint_Release_0"); e("undefined" != typeof d.emscripten_bind_Constraint_GetType_0, "missing Wasm export: emscripten_bind_Constraint_GetType_0"); e("undefined" != typeof d.emscripten_bind_Constraint_GetSubType_0, "missing Wasm export: emscripten_bind_Constraint_GetSubType_0"); e("undefined" != typeof d.emscripten_bind_Constraint_GetConstraintPriority_0, "missing Wasm export: emscripten_bind_Constraint_GetConstraintPriority_0"); e("undefined" != typeof d.emscripten_bind_Constraint_SetConstraintPriority_1, "missing Wasm export: emscripten_bind_Constraint_SetConstraintPriority_1"); e("undefined" != typeof d.emscripten_bind_Constraint_SetNumVelocityStepsOverride_1, "missing Wasm export: emscripten_bind_Constraint_SetNumVelocityStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_Constraint_GetNumVelocityStepsOverride_0, "missing Wasm export: emscripten_bind_Constraint_GetNumVelocityStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_Constraint_SetNumPositionStepsOverride_1, "missing Wasm export: emscripten_bind_Constraint_SetNumPositionStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_Constraint_GetNumPositionStepsOverride_0, "missing Wasm export: emscripten_bind_Constraint_GetNumPositionStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_Constraint_SetEnabled_1, "missing Wasm export: emscripten_bind_Constraint_SetEnabled_1"); e("undefined" != typeof d.emscripten_bind_Constraint_GetEnabled_0, "missing Wasm export: emscripten_bind_Constraint_GetEnabled_0"); e("undefined" != typeof d.emscripten_bind_Constraint_IsActive_0, "missing Wasm export: emscripten_bind_Constraint_IsActive_0"); e("undefined" != typeof d.emscripten_bind_Constraint_GetUserData_0, "missing Wasm export: emscripten_bind_Constraint_GetUserData_0"); e("undefined" != typeof d.emscripten_bind_Constraint_SetUserData_1, "missing Wasm export: emscripten_bind_Constraint_SetUserData_1"); e("undefined" != typeof d.emscripten_bind_Constraint_ResetWarmStart_0, "missing Wasm export: emscripten_bind_Constraint_ResetWarmStart_0"); e("undefined" != typeof d.emscripten_bind_Constraint_SaveState_1, "missing Wasm export: emscripten_bind_Constraint_SaveState_1"); e("undefined" != typeof d.emscripten_bind_Constraint_RestoreState_1, "missing Wasm export: emscripten_bind_Constraint_RestoreState_1"); e("undefined" != typeof d.emscripten_bind_Constraint___destroy___0, "missing Wasm export: emscripten_bind_Constraint___destroy___0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPath_IsLooping_0, "missing Wasm export: emscripten_bind_PathConstraintPath_IsLooping_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPath_SetIsLooping_1, "missing Wasm export: emscripten_bind_PathConstraintPath_SetIsLooping_1"); e("undefined" != typeof d.emscripten_bind_PathConstraintPath_GetRefCount_0, "missing Wasm export: emscripten_bind_PathConstraintPath_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPath_AddRef_0, "missing Wasm export: emscripten_bind_PathConstraintPath_AddRef_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPath_Release_0, "missing Wasm export: emscripten_bind_PathConstraintPath_Release_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPath___destroy___0, "missing Wasm export: emscripten_bind_PathConstraintPath___destroy___0"); e("undefined" != typeof d.emscripten_bind_StateRecorder_SetValidating_1, "missing Wasm export: emscripten_bind_StateRecorder_SetValidating_1"); e("undefined" != typeof d.emscripten_bind_StateRecorder_IsValidating_0, "missing Wasm export: emscripten_bind_StateRecorder_IsValidating_0"); e("undefined" != typeof d.emscripten_bind_StateRecorder_SetIsLastPart_1, "missing Wasm export: emscripten_bind_StateRecorder_SetIsLastPart_1"); e("undefined" != typeof d.emscripten_bind_StateRecorder_IsLastPart_0, "missing Wasm export: emscripten_bind_StateRecorder_IsLastPart_0"); e("undefined" != typeof d.emscripten_bind_StateRecorder___destroy___0, "missing Wasm export: emscripten_bind_StateRecorder___destroy___0"); e("undefined" != typeof d.emscripten_bind_ContactListener___destroy___0, "missing Wasm export: emscripten_bind_ContactListener___destroy___0"); e("undefined" != typeof d.emscripten_bind_SoftBodyContactListener___destroy___0, "missing Wasm export: emscripten_bind_SoftBodyContactListener___destroy___0"); e("undefined" != typeof d.emscripten_bind_BodyActivationListener___destroy___0, "missing Wasm export: emscripten_bind_BodyActivationListener___destroy___0"); e("undefined" != typeof d.emscripten_bind_CharacterContactListener___destroy___0, "missing Wasm export: emscripten_bind_CharacterContactListener___destroy___0"); e("undefined" != typeof d.emscripten_bind_ObjectVsBroadPhaseLayerFilter_ObjectVsBroadPhaseLayerFilter_0, "missing Wasm export: emscripten_bind_ObjectVsBroadPhaseLayerFilter_ObjectVsBroadPhaseLayerFilter_0"); e("undefined" != typeof d.emscripten_bind_ObjectVsBroadPhaseLayerFilter___destroy___0, "missing Wasm export: emscripten_bind_ObjectVsBroadPhaseLayerFilter___destroy___0"); e("undefined" != typeof d.emscripten_bind_VehicleControllerSettings___destroy___0, "missing Wasm export: emscripten_bind_VehicleControllerSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_VehicleController_GetConstraint_0, "missing Wasm export: emscripten_bind_VehicleController_GetConstraint_0"); e("undefined" != typeof d.emscripten_bind_VehicleController___destroy___0, "missing Wasm export: emscripten_bind_VehicleController___destroy___0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseLayerInterface_GetNumBroadPhaseLayers_0, "missing Wasm export: emscripten_bind_BroadPhaseLayerInterface_GetNumBroadPhaseLayers_0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseLayerInterface___destroy___0, "missing Wasm export: emscripten_bind_BroadPhaseLayerInterface___destroy___0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult_BroadPhaseCastResult_0, "missing Wasm export: emscripten_bind_BroadPhaseCastResult_BroadPhaseCastResult_0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult_Reset_0, "missing Wasm export: emscripten_bind_BroadPhaseCastResult_Reset_0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult_get_mBodyID_0, "missing Wasm export: emscripten_bind_BroadPhaseCastResult_get_mBodyID_0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult_set_mBodyID_1, "missing Wasm export: emscripten_bind_BroadPhaseCastResult_set_mBodyID_1"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult_get_mFraction_0, "missing Wasm export: emscripten_bind_BroadPhaseCastResult_get_mFraction_0"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult_set_mFraction_1, "missing Wasm export: emscripten_bind_BroadPhaseCastResult_set_mFraction_1"); e("undefined" != typeof d.emscripten_bind_BroadPhaseCastResult___destroy___0, "missing Wasm export: emscripten_bind_BroadPhaseCastResult___destroy___0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_GetRefCount_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_AddRef_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_AddRef_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_Release_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_Release_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_Create_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_Create_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_ClearCachedResult_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_ClearCachedResult_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_get_mMaterial_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_get_mMaterial_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_set_mMaterial_1, "missing Wasm export: emscripten_bind_ConvexShapeSettings_set_mMaterial_1"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_get_mDensity_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_get_mDensity_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_set_mDensity_1, "missing Wasm export: emscripten_bind_ConvexShapeSettings_set_mDensity_1"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_get_mUserData_0, "missing Wasm export: emscripten_bind_ConvexShapeSettings_get_mUserData_0"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings_set_mUserData_1, "missing Wasm export: emscripten_bind_ConvexShapeSettings_set_mUserData_1"); e("undefined" != typeof d.emscripten_bind_ConvexShapeSettings___destroy___0, "missing Wasm export: emscripten_bind_ConvexShapeSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_SetMaterial_1, "missing Wasm export: emscripten_bind_ConvexShape_SetMaterial_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetDensity_0, "missing Wasm export: emscripten_bind_ConvexShape_GetDensity_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_SetDensity_1, "missing Wasm export: emscripten_bind_ConvexShape_SetDensity_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetRefCount_0, "missing Wasm export: emscripten_bind_ConvexShape_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_AddRef_0, "missing Wasm export: emscripten_bind_ConvexShape_AddRef_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_Release_0, "missing Wasm export: emscripten_bind_ConvexShape_Release_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetType_0, "missing Wasm export: emscripten_bind_ConvexShape_GetType_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetSubType_0, "missing Wasm export: emscripten_bind_ConvexShape_GetSubType_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_MustBeStatic_0, "missing Wasm export: emscripten_bind_ConvexShape_MustBeStatic_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetLocalBounds_0, "missing Wasm export: emscripten_bind_ConvexShape_GetLocalBounds_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetWorldSpaceBounds_2, "missing Wasm export: emscripten_bind_ConvexShape_GetWorldSpaceBounds_2"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetCenterOfMass_0, "missing Wasm export: emscripten_bind_ConvexShape_GetCenterOfMass_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetUserData_0, "missing Wasm export: emscripten_bind_ConvexShape_GetUserData_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_SetUserData_1, "missing Wasm export: emscripten_bind_ConvexShape_SetUserData_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetSubShapeIDBitsRecursive_0, "missing Wasm export: emscripten_bind_ConvexShape_GetSubShapeIDBitsRecursive_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetInnerRadius_0, "missing Wasm export: emscripten_bind_ConvexShape_GetInnerRadius_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetMassProperties_0, "missing Wasm export: emscripten_bind_ConvexShape_GetMassProperties_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetLeafShape_2, "missing Wasm export: emscripten_bind_ConvexShape_GetLeafShape_2"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetMaterial_1, "missing Wasm export: emscripten_bind_ConvexShape_GetMaterial_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetSurfaceNormal_2, "missing Wasm export: emscripten_bind_ConvexShape_GetSurfaceNormal_2"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetSubShapeUserData_1, "missing Wasm export: emscripten_bind_ConvexShape_GetSubShapeUserData_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetSubShapeTransformedShape_5, "missing Wasm export: emscripten_bind_ConvexShape_GetSubShapeTransformedShape_5"); e("undefined" != typeof d.emscripten_bind_ConvexShape_GetVolume_0, "missing Wasm export: emscripten_bind_ConvexShape_GetVolume_0"); e("undefined" != typeof d.emscripten_bind_ConvexShape_IsValidScale_1, "missing Wasm export: emscripten_bind_ConvexShape_IsValidScale_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_MakeScaleValid_1, "missing Wasm export: emscripten_bind_ConvexShape_MakeScaleValid_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape_ScaleShape_1, "missing Wasm export: emscripten_bind_ConvexShape_ScaleShape_1"); e("undefined" != typeof d.emscripten_bind_ConvexShape___destroy___0, "missing Wasm export: emscripten_bind_ConvexShape___destroy___0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_AddShape_4, "missing Wasm export: emscripten_bind_CompoundShapeSettings_AddShape_4"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_AddShapeShapeSettings_4, "missing Wasm export: emscripten_bind_CompoundShapeSettings_AddShapeShapeSettings_4"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_AddShapeShape_4, "missing Wasm export: emscripten_bind_CompoundShapeSettings_AddShapeShape_4"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_GetRefCount_0, "missing Wasm export: emscripten_bind_CompoundShapeSettings_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_AddRef_0, "missing Wasm export: emscripten_bind_CompoundShapeSettings_AddRef_0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_Release_0, "missing Wasm export: emscripten_bind_CompoundShapeSettings_Release_0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_Create_0, "missing Wasm export: emscripten_bind_CompoundShapeSettings_Create_0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_ClearCachedResult_0, "missing Wasm export: emscripten_bind_CompoundShapeSettings_ClearCachedResult_0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_get_mUserData_0, "missing Wasm export: emscripten_bind_CompoundShapeSettings_get_mUserData_0"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings_set_mUserData_1, "missing Wasm export: emscripten_bind_CompoundShapeSettings_set_mUserData_1"); e("undefined" != typeof d.emscripten_bind_CompoundShapeSettings___destroy___0, "missing Wasm export: emscripten_bind_CompoundShapeSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetNumSubShapes_0, "missing Wasm export: emscripten_bind_CompoundShape_GetNumSubShapes_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetSubShape_1, "missing Wasm export: emscripten_bind_CompoundShape_GetSubShape_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetRefCount_0, "missing Wasm export: emscripten_bind_CompoundShape_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_AddRef_0, "missing Wasm export: emscripten_bind_CompoundShape_AddRef_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_Release_0, "missing Wasm export: emscripten_bind_CompoundShape_Release_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetType_0, "missing Wasm export: emscripten_bind_CompoundShape_GetType_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetSubType_0, "missing Wasm export: emscripten_bind_CompoundShape_GetSubType_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_MustBeStatic_0, "missing Wasm export: emscripten_bind_CompoundShape_MustBeStatic_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetLocalBounds_0, "missing Wasm export: emscripten_bind_CompoundShape_GetLocalBounds_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetWorldSpaceBounds_2, "missing Wasm export: emscripten_bind_CompoundShape_GetWorldSpaceBounds_2"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetCenterOfMass_0, "missing Wasm export: emscripten_bind_CompoundShape_GetCenterOfMass_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetUserData_0, "missing Wasm export: emscripten_bind_CompoundShape_GetUserData_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_SetUserData_1, "missing Wasm export: emscripten_bind_CompoundShape_SetUserData_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetSubShapeIDBitsRecursive_0, "missing Wasm export: emscripten_bind_CompoundShape_GetSubShapeIDBitsRecursive_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetInnerRadius_0, "missing Wasm export: emscripten_bind_CompoundShape_GetInnerRadius_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetMassProperties_0, "missing Wasm export: emscripten_bind_CompoundShape_GetMassProperties_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetLeafShape_2, "missing Wasm export: emscripten_bind_CompoundShape_GetLeafShape_2"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetMaterial_1, "missing Wasm export: emscripten_bind_CompoundShape_GetMaterial_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetSurfaceNormal_2, "missing Wasm export: emscripten_bind_CompoundShape_GetSurfaceNormal_2"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetSubShapeUserData_1, "missing Wasm export: emscripten_bind_CompoundShape_GetSubShapeUserData_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetSubShapeTransformedShape_5, "missing Wasm export: emscripten_bind_CompoundShape_GetSubShapeTransformedShape_5"); e("undefined" != typeof d.emscripten_bind_CompoundShape_GetVolume_0, "missing Wasm export: emscripten_bind_CompoundShape_GetVolume_0"); e("undefined" != typeof d.emscripten_bind_CompoundShape_IsValidScale_1, "missing Wasm export: emscripten_bind_CompoundShape_IsValidScale_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape_MakeScaleValid_1, "missing Wasm export: emscripten_bind_CompoundShape_MakeScaleValid_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape_ScaleShape_1, "missing Wasm export: emscripten_bind_CompoundShape_ScaleShape_1"); e("undefined" != typeof d.emscripten_bind_CompoundShape___destroy___0, "missing Wasm export: emscripten_bind_CompoundShape___destroy___0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_GetRefCount_0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_AddRef_0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_AddRef_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_Release_0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_Release_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_Create_0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_Create_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_ClearCachedResult_0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_ClearCachedResult_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_get_mUserData_0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_get_mUserData_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings_set_mUserData_1, "missing Wasm export: emscripten_bind_DecoratedShapeSettings_set_mUserData_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShapeSettings___destroy___0, "missing Wasm export: emscripten_bind_DecoratedShapeSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetInnerShape_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetInnerShape_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetRefCount_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_AddRef_0, "missing Wasm export: emscripten_bind_DecoratedShape_AddRef_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_Release_0, "missing Wasm export: emscripten_bind_DecoratedShape_Release_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetType_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetType_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetSubType_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetSubType_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_MustBeStatic_0, "missing Wasm export: emscripten_bind_DecoratedShape_MustBeStatic_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetLocalBounds_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetLocalBounds_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetWorldSpaceBounds_2, "missing Wasm export: emscripten_bind_DecoratedShape_GetWorldSpaceBounds_2"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetCenterOfMass_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetCenterOfMass_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetUserData_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetUserData_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_SetUserData_1, "missing Wasm export: emscripten_bind_DecoratedShape_SetUserData_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetSubShapeIDBitsRecursive_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetSubShapeIDBitsRecursive_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetInnerRadius_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetInnerRadius_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetMassProperties_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetMassProperties_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetLeafShape_2, "missing Wasm export: emscripten_bind_DecoratedShape_GetLeafShape_2"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetMaterial_1, "missing Wasm export: emscripten_bind_DecoratedShape_GetMaterial_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetSurfaceNormal_2, "missing Wasm export: emscripten_bind_DecoratedShape_GetSurfaceNormal_2"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetSubShapeUserData_1, "missing Wasm export: emscripten_bind_DecoratedShape_GetSubShapeUserData_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetSubShapeTransformedShape_5, "missing Wasm export: emscripten_bind_DecoratedShape_GetSubShapeTransformedShape_5"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_GetVolume_0, "missing Wasm export: emscripten_bind_DecoratedShape_GetVolume_0"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_IsValidScale_1, "missing Wasm export: emscripten_bind_DecoratedShape_IsValidScale_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_MakeScaleValid_1, "missing Wasm export: emscripten_bind_DecoratedShape_MakeScaleValid_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShape_ScaleShape_1, "missing Wasm export: emscripten_bind_DecoratedShape_ScaleShape_1"); e("undefined" != typeof d.emscripten_bind_DecoratedShape___destroy___0, "missing Wasm export: emscripten_bind_DecoratedShape___destroy___0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_Create_2, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_Create_2"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_GetRefCount_0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_AddRef_0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_AddRef_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_Release_0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_Release_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_get_mEnabled_0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_get_mEnabled_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_set_mEnabled_1, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_set_mEnabled_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_get_mNumVelocityStepsOverride_0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_get_mNumVelocityStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_set_mNumVelocityStepsOverride_1, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_set_mNumVelocityStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_get_mNumPositionStepsOverride_0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_get_mNumPositionStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings_set_mNumPositionStepsOverride_1, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings_set_mNumPositionStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraintSettings___destroy___0, "missing Wasm export: emscripten_bind_TwoBodyConstraintSettings___destroy___0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetBody1_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetBody1_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetBody2_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetBody2_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetConstraintToBody1Matrix_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetConstraintToBody1Matrix_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetConstraintToBody2Matrix_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetConstraintToBody2Matrix_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetRefCount_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_AddRef_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_AddRef_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_Release_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_Release_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetType_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetType_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetSubType_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetSubType_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetConstraintPriority_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetConstraintPriority_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_SetConstraintPriority_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_SetConstraintPriority_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_SetNumVelocityStepsOverride_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_SetNumVelocityStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetNumVelocityStepsOverride_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetNumVelocityStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_SetNumPositionStepsOverride_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_SetNumPositionStepsOverride_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetNumPositionStepsOverride_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetNumPositionStepsOverride_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_SetEnabled_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_SetEnabled_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetEnabled_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetEnabled_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_IsActive_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_IsActive_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_GetUserData_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_GetUserData_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_SetUserData_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_SetUserData_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_ResetWarmStart_0, "missing Wasm export: emscripten_bind_TwoBodyConstraint_ResetWarmStart_0"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_SaveState_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_SaveState_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint_RestoreState_1, "missing Wasm export: emscripten_bind_TwoBodyConstraint_RestoreState_1"); e("undefined" != typeof d.emscripten_bind_TwoBodyConstraint___destroy___0, "missing Wasm export: emscripten_bind_TwoBodyConstraint___destroy___0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPathEm_IsLooping_0, "missing Wasm export: emscripten_bind_PathConstraintPathEm_IsLooping_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPathEm_SetIsLooping_1, "missing Wasm export: emscripten_bind_PathConstraintPathEm_SetIsLooping_1"); e("undefined" != typeof d.emscripten_bind_PathConstraintPathEm_GetRefCount_0, "missing Wasm export: emscripten_bind_PathConstraintPathEm_GetRefCount_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPathEm_AddRef_0, "missing Wasm export: emscripten_bind_PathConstraintPathEm_AddRef_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPathEm_Release_0, "missing Wasm export: emscripten_bind_PathConstraintPathEm_Release_0"); e("undefined" != typeof d.emscripten_bind_PathConstraintPathEm___destroy___0, "missing Wasm export: emscripten_bind_PathConstraintPathEm___destroy___0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_GetMotionQuality_0, "missing Wasm export: emscripten_bind_MotionProperties_GetMotionQuality_0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_GetAllowedDOFs_0, "missing Wasm export: emscripten_bind_MotionProperties_GetAllowedDOFs_0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_GetAllowSleeping_0, "missing Wasm export: emscripten_bind_MotionProperties_GetAllowSleeping_0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_GetLinearVelocity_0, "missing Wasm export: emscripten_bind_MotionProperties_GetLinearVelocity_0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_SetLinearVelocity_1, "missing Wasm export: emscripten_bind_MotionProperties_SetLinearVelocity_1"); e("undefined" != typeof d.emscripten_bind_MotionProperties_SetLinearVelocityClamped_1, "missing Wasm export: emscripten_bind_MotionProperties_SetLinearVelocityClamped_1"); e("undefined" != typeof d.emscripten_bind_MotionProperties_GetAngularVelocity_0, "missing Wasm export: emscripten_bind_MotionProperties_GetAngularVelocity_0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_SetAngularVelocity_1, "missing Wasm export: emscripten_bind_MotionProperties_SetAngularVelocity_1"); e("undefined" != typeof d.emscripten_bind_MotionProperties_SetAngularVelocityClamped_1, "missing Wasm export: emscripten_bind_MotionProperties_SetAngularVelocityClamped_1"); e("undefined" != typeof d.emscripten_bind_MotionProperties_MoveKinematic_3, "missing Wasm export: emscripten_bind_MotionProperties_MoveKinematic_3"); e("undefined" != typeof d.emscripten_bind_MotionProperties_GetMaxLinearVelocity_0, "missing Wasm export: emscripten_bind_MotionProperties_GetMaxLinearVelocity_0"); e("undefined" != typeof d.emscripten_bind_MotionProperties_SetMaxLinearVelocity_1, "missing Wasm export: emscripten_bind_MotionProperties_SetMaxLinearVelocity_1"); e("undefined" != typeof d.e