diff --git a/out/viewer.d.ts b/out/viewer.d.ts index f76694ee..277e0874 100644 --- a/out/viewer.d.ts +++ b/out/viewer.d.ts @@ -9,14 +9,14 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67f2b1b16fd1e035: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h28e9feee3f5926bf: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9a00151cf9056fd2: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12b7fff30f264ec1: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3feb02b2e9ee9eac: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h864f2998e732640b: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1065b551aecea0df: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hffbf738a022aa74f: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdb9c1e3279cd46f7: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59d5531de9ff93b7: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha12813c2fd2ec810: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h378180cfe3c9161c: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd41589a0be4f5045: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6c209141a134dc28: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f2e5ac239062b97: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h97cc36b144eb0fa8: (a: number, b: number) => void; readonly __wbindgen_free: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; diff --git a/out/viewer.js b/out/viewer.js index 6ce92371..9d152a13 100644 --- a/out/viewer.js +++ b/out/viewer.js @@ -212,35 +212,35 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_28(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67f2b1b16fd1e035(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdb9c1e3279cd46f7(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_31(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h28e9feee3f5926bf(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59d5531de9ff93b7(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_40(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9a00151cf9056fd2(arg0, arg1); +function __wbg_adapter_34(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha12813c2fd2ec810(arg0, arg1); } -function __wbg_adapter_45(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12b7fff30f264ec1(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_39(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h378180cfe3c9161c(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } function __wbg_adapter_48(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3feb02b2e9ee9eac(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd41589a0be4f5045(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_51(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h864f2998e732640b(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6c209141a134dc28(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_56(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1065b551aecea0df(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f2e5ac239062b97(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_69(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hffbf738a022aa74f(arg0, arg1); +function __wbg_adapter_59(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h97cc36b144eb0fa8(arg0, arg1); } function handleError(f, args) { @@ -443,23 +443,23 @@ function __wbg_get_imports() { const ret = getObject(arg0).Window; return addHeapObject(ret); }; - imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { - getObject(arg0).focus(); - }, arguments) }; + imports.wbg.__wbg_devicePixelRatio_efc553b59506f64c = function(arg0) { + const ret = getObject(arg0).devicePixelRatio; + return ret; + }; imports.wbg.__wbg_exitPointerLock_b62fe3c7830470e4 = function(arg0) { getObject(arg0).exitPointerLock(); }; imports.wbg.__wbg_requestPointerLock_78b2a4a24cb69366 = function(arg0) { getObject(arg0).requestPointerLock(); }; + imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { + getObject(arg0).focus(); + }, arguments) }; imports.wbg.__wbg_matches_e14ed9ff8291cf24 = function(arg0) { const ret = getObject(arg0).matches; return ret; }; - imports.wbg.__wbg_devicePixelRatio_efc553b59506f64c = function(arg0) { - const ret = getObject(arg0).devicePixelRatio; - return ret; - }; imports.wbg.__wbg_matchMedia_66bb21e3ef19270c = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); @@ -1616,20 +1616,16 @@ function __wbg_get_imports() { const ret = getObject(arg0).webkitFullscreenElement; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6787 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper6789 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 4775, __wbg_adapter_28); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34273 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_31); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_closure_wrapper34275 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_31); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper34277 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_31); + const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper34279 = function(arg0, arg1, arg2) { @@ -1637,7 +1633,7 @@ function __wbg_get_imports() { return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper34281 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_40); + const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_39); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper34283 = function(arg0, arg1, arg2) { @@ -1645,47 +1641,51 @@ function __wbg_get_imports() { return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper34285 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_45); + const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_31); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_closure_wrapper34287 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28239, __wbg_adapter_31); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper40097 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30463, __wbg_adapter_48); + imports.wbg.__wbindgen_closure_wrapper40120 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30468, __wbg_adapter_48); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper40862 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30486, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper40885 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30491, __wbg_adapter_51); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper40864 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30486, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper40887 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30491, __wbg_adapter_51); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41587 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41610 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_56); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41589 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41612 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_59); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41591 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41614 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_56); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41593 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41616 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_56); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41595 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41618 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_56); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41597 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41620 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_56); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41599 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30766, __wbg_adapter_69); + imports.wbg.__wbindgen_closure_wrapper41622 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30771, __wbg_adapter_56); return addHeapObject(ret); }; diff --git a/out/viewer_bg.wasm b/out/viewer_bg.wasm index f0d1ac03..95314afc 100644 Binary files a/out/viewer_bg.wasm and b/out/viewer_bg.wasm differ diff --git a/out/viewer_bg.wasm.d.ts b/out/viewer_bg.wasm.d.ts index d7e131f7..5530a129 100644 --- a/out/viewer_bg.wasm.d.ts +++ b/out/viewer_bg.wasm.d.ts @@ -5,14 +5,14 @@ export function main(a: number, b: number): number; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h67f2b1b16fd1e035(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h28e9feee3f5926bf(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9a00151cf9056fd2(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h12b7fff30f264ec1(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3feb02b2e9ee9eac(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h864f2998e732640b(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1065b551aecea0df(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hffbf738a022aa74f(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdb9c1e3279cd46f7(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59d5531de9ff93b7(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha12813c2fd2ec810(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h378180cfe3c9161c(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd41589a0be4f5045(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6c209141a134dc28(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f2e5ac239062b97(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h97cc36b144eb0fa8(a: number, b: number): void; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void;