cosmol_viewer_wasm 0.2.17 → 0.2.19
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 +24 -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_6317: (a: number, b: number, c: number, d: number) => void;
|
|
25
|
+
readonly __wasm_bindgen_func_elem_6302: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
+
readonly __wasm_bindgen_func_elem_1732: (a: number, b: number, c: number) => void;
|
|
27
|
+
readonly __wasm_bindgen_func_elem_1732_2: (a: number, b: number, c: number) => void;
|
|
28
|
+
readonly __wasm_bindgen_func_elem_1731: (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_6302(a, state0.b, arg0, arg1);
|
|
1016
1016
|
} finally {
|
|
1017
1017
|
state0.a = a;
|
|
1018
1018
|
}
|
|
@@ -1324,6 +1324,12 @@ function __wbg_get_imports() {
|
|
|
1324
1324
|
__wbg_uniform3fv_7c2935b7f05414ef: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
1325
1325
|
getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
1326
1326
|
}, arguments); },
|
|
1327
|
+
__wbg_uniform4fv_622c64d35acf9214: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
1328
|
+
getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
1329
|
+
}, arguments); },
|
|
1330
|
+
__wbg_uniform4fv_b0c5721b35cd3f06: function() { return logError(function (arg0, arg1, arg2, arg3) {
|
|
1331
|
+
getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
1332
|
+
}, arguments); },
|
|
1327
1333
|
__wbg_uniformMatrix3fv_6abd62dbed68830a: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1328
1334
|
getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
1329
1335
|
}, arguments); },
|
|
@@ -1399,22 +1405,22 @@ function __wbg_get_imports() {
|
|
|
1399
1405
|
}, arguments); },
|
|
1400
1406
|
__wbindgen_cast_0000000000000001: function() { return logError(function (arg0, arg1) {
|
|
1401
1407
|
// 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,
|
|
1408
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6317);
|
|
1403
1409
|
return addHeapObject(ret);
|
|
1404
1410
|
}, arguments); },
|
|
1405
1411
|
__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,
|
|
1412
|
+
// 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`.
|
|
1413
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1732);
|
|
1408
1414
|
return addHeapObject(ret);
|
|
1409
1415
|
}, arguments); },
|
|
1410
1416
|
__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,
|
|
1417
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 524, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1418
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1732_2);
|
|
1413
1419
|
return addHeapObject(ret);
|
|
1414
1420
|
}, arguments); },
|
|
1415
1421
|
__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,
|
|
1422
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 527, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1423
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1731);
|
|
1418
1424
|
return addHeapObject(ret);
|
|
1419
1425
|
}, arguments); },
|
|
1420
1426
|
__wbindgen_cast_0000000000000005: function() { return logError(function (arg0, arg1) {
|
|
@@ -1473,24 +1479,24 @@ function __wbg_get_imports() {
|
|
|
1473
1479
|
|
|
1474
1480
|
|
|
1475
1481
|
//#endregion
|
|
1476
|
-
function
|
|
1482
|
+
function __wasm_bindgen_func_elem_1732(arg0, arg1, arg2) {
|
|
1477
1483
|
_assertNum(arg0);
|
|
1478
1484
|
_assertNum(arg1);
|
|
1479
|
-
wasm.
|
|
1485
|
+
wasm.__wasm_bindgen_func_elem_1732(arg0, arg1, addHeapObject(arg2));
|
|
1480
1486
|
}
|
|
1481
1487
|
|
|
1482
|
-
function
|
|
1488
|
+
function __wasm_bindgen_func_elem_1732_2(arg0, arg1, arg2) {
|
|
1483
1489
|
_assertNum(arg0);
|
|
1484
1490
|
_assertNum(arg1);
|
|
1485
|
-
wasm.
|
|
1491
|
+
wasm.__wasm_bindgen_func_elem_1732_2(arg0, arg1, addHeapObject(arg2));
|
|
1486
1492
|
}
|
|
1487
1493
|
|
|
1488
|
-
function
|
|
1494
|
+
function __wasm_bindgen_func_elem_1731(arg0, arg1) {
|
|
1489
1495
|
try {
|
|
1490
1496
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1491
1497
|
_assertNum(arg0);
|
|
1492
1498
|
_assertNum(arg1);
|
|
1493
|
-
wasm.
|
|
1499
|
+
wasm.__wasm_bindgen_func_elem_1731(retptr, arg0, arg1);
|
|
1494
1500
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1495
1501
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1496
1502
|
if (r1) {
|
|
@@ -1501,12 +1507,12 @@ function __wasm_bindgen_func_elem_1718(arg0, arg1) {
|
|
|
1501
1507
|
}
|
|
1502
1508
|
}
|
|
1503
1509
|
|
|
1504
|
-
function
|
|
1510
|
+
function __wasm_bindgen_func_elem_6317(arg0, arg1, arg2) {
|
|
1505
1511
|
try {
|
|
1506
1512
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1507
1513
|
_assertNum(arg0);
|
|
1508
1514
|
_assertNum(arg1);
|
|
1509
|
-
wasm.
|
|
1515
|
+
wasm.__wasm_bindgen_func_elem_6317(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1510
1516
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1511
1517
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1512
1518
|
if (r1) {
|
|
@@ -1517,10 +1523,10 @@ function __wasm_bindgen_func_elem_6301(arg0, arg1, arg2) {
|
|
|
1517
1523
|
}
|
|
1518
1524
|
}
|
|
1519
1525
|
|
|
1520
|
-
function
|
|
1526
|
+
function __wasm_bindgen_func_elem_6302(arg0, arg1, arg2, arg3) {
|
|
1521
1527
|
_assertNum(arg0);
|
|
1522
1528
|
_assertNum(arg1);
|
|
1523
|
-
wasm.
|
|
1529
|
+
wasm.__wasm_bindgen_func_elem_6302(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1524
1530
|
}
|
|
1525
1531
|
|
|
1526
1532
|
|
|
Binary file
|
package/package.json
CHANGED