UNPKG

jolt-physics

Version:

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

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