cosmol_viewer_wasm 0.2.16 → 0.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cosmol_viewer_wasm.d.ts +5 -5
- package/cosmol_viewer_wasm.js +18 -18
- package/cosmol_viewer_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/cosmol_viewer_wasm.d.ts
CHANGED
|
@@ -21,11 +21,11 @@ export interface InitOutput {
|
|
|
21
21
|
readonly webhandle_start_with_scene: (a: number, b: number, c: number, d: number) => number;
|
|
22
22
|
readonly webhandle_take_screenshot: (a: number) => number;
|
|
23
23
|
readonly webhandle_update_scene: (a: number, b: number, c: number) => number;
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
24
|
+
readonly __wasm_bindgen_func_elem_6304: (a: number, b: number, c: number, d: number) => void;
|
|
25
|
+
readonly __wasm_bindgen_func_elem_6289: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
+
readonly __wasm_bindgen_func_elem_1722: (a: number, b: number, c: number) => void;
|
|
27
|
+
readonly __wasm_bindgen_func_elem_1722_2: (a: number, b: number, c: number) => void;
|
|
28
|
+
readonly __wasm_bindgen_func_elem_1721: (a: number, b: number, c: number) => void;
|
|
29
29
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
30
30
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
31
31
|
readonly __wbindgen_export3: (a: number) => void;
|
package/cosmol_viewer_wasm.js
CHANGED
|
@@ -1012,7 +1012,7 @@ function __wbg_get_imports() {
|
|
|
1012
1012
|
const a = state0.a;
|
|
1013
1013
|
state0.a = 0;
|
|
1014
1014
|
try {
|
|
1015
|
-
return
|
|
1015
|
+
return __wasm_bindgen_func_elem_6289(a, state0.b, arg0, arg1);
|
|
1016
1016
|
} finally {
|
|
1017
1017
|
state0.a = a;
|
|
1018
1018
|
}
|
|
@@ -1399,22 +1399,22 @@ function __wbg_get_imports() {
|
|
|
1399
1399
|
}, arguments); },
|
|
1400
1400
|
__wbindgen_cast_0000000000000001: function() { return logError(function (arg0, arg1) {
|
|
1401
1401
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1126, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1402
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1402
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6304);
|
|
1403
1403
|
return addHeapObject(ret);
|
|
1404
1404
|
}, arguments); },
|
|
1405
1405
|
__wbindgen_cast_0000000000000002: function() { return logError(function (arg0, arg1) {
|
|
1406
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx:
|
|
1407
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1406
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 524, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1407
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1722);
|
|
1408
1408
|
return addHeapObject(ret);
|
|
1409
1409
|
}, arguments); },
|
|
1410
1410
|
__wbindgen_cast_0000000000000003: function() { return logError(function (arg0, arg1) {
|
|
1411
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1412
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1411
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 524, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1412
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1722_2);
|
|
1413
1413
|
return addHeapObject(ret);
|
|
1414
1414
|
}, arguments); },
|
|
1415
1415
|
__wbindgen_cast_0000000000000004: function() { return logError(function (arg0, arg1) {
|
|
1416
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1417
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1416
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 527, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1417
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1721);
|
|
1418
1418
|
return addHeapObject(ret);
|
|
1419
1419
|
}, arguments); },
|
|
1420
1420
|
__wbindgen_cast_0000000000000005: function() { return logError(function (arg0, arg1) {
|
|
@@ -1473,24 +1473,24 @@ function __wbg_get_imports() {
|
|
|
1473
1473
|
|
|
1474
1474
|
|
|
1475
1475
|
//#endregion
|
|
1476
|
-
function
|
|
1476
|
+
function __wasm_bindgen_func_elem_1722(arg0, arg1, arg2) {
|
|
1477
1477
|
_assertNum(arg0);
|
|
1478
1478
|
_assertNum(arg1);
|
|
1479
|
-
wasm.
|
|
1479
|
+
wasm.__wasm_bindgen_func_elem_1722(arg0, arg1, addHeapObject(arg2));
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
|
-
function
|
|
1482
|
+
function __wasm_bindgen_func_elem_1722_2(arg0, arg1, arg2) {
|
|
1483
1483
|
_assertNum(arg0);
|
|
1484
1484
|
_assertNum(arg1);
|
|
1485
|
-
wasm.
|
|
1485
|
+
wasm.__wasm_bindgen_func_elem_1722_2(arg0, arg1, addHeapObject(arg2));
|
|
1486
1486
|
}
|
|
1487
1487
|
|
|
1488
|
-
function
|
|
1488
|
+
function __wasm_bindgen_func_elem_1721(arg0, arg1) {
|
|
1489
1489
|
try {
|
|
1490
1490
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1491
1491
|
_assertNum(arg0);
|
|
1492
1492
|
_assertNum(arg1);
|
|
1493
|
-
wasm.
|
|
1493
|
+
wasm.__wasm_bindgen_func_elem_1721(retptr, arg0, arg1);
|
|
1494
1494
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1495
1495
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1496
1496
|
if (r1) {
|
|
@@ -1501,12 +1501,12 @@ function __wasm_bindgen_func_elem_1718(arg0, arg1) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
|
-
function
|
|
1504
|
+
function __wasm_bindgen_func_elem_6304(arg0, arg1, arg2) {
|
|
1505
1505
|
try {
|
|
1506
1506
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1507
1507
|
_assertNum(arg0);
|
|
1508
1508
|
_assertNum(arg1);
|
|
1509
|
-
wasm.
|
|
1509
|
+
wasm.__wasm_bindgen_func_elem_6304(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1510
1510
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1511
1511
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1512
1512
|
if (r1) {
|
|
@@ -1517,10 +1517,10 @@ function __wasm_bindgen_func_elem_6301(arg0, arg1, arg2) {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
1519
|
|
|
1520
|
-
function
|
|
1520
|
+
function __wasm_bindgen_func_elem_6289(arg0, arg1, arg2, arg3) {
|
|
1521
1521
|
_assertNum(arg0);
|
|
1522
1522
|
_assertNum(arg1);
|
|
1523
|
-
wasm.
|
|
1523
|
+
wasm.__wasm_bindgen_func_elem_6289(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1524
1524
|
}
|
|
1525
1525
|
|
|
1526
1526
|
|
|
Binary file
|
package/package.json
CHANGED