@openheart/tavio-renderer 2.3.6-with-wasm → 2.3.8-with-wasm
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/build/esm/assets/tavio-W_sdgqtN.js +956 -0
- package/build/esm/assets/{workerHelpers-DakeTlMm.js → workerHelpers-DHY9csG0.js} +1 -1
- package/build/esm/index.js +30 -33
- package/build/esm/types/viewer/tavioMesh.d.ts +4 -0
- package/build/esm/wasm/pkg/no-thread/tavio.d.ts +7 -7
- package/build/esm/wasm/pkg/no-thread/tavio.js +32 -40
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm.d.ts +7 -7
- package/build/esm/wasm/pkg/thread/tavio.d.ts +8 -8
- package/build/esm/wasm/pkg/thread/tavio.js +37 -45
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm.d.ts +8 -8
- package/package.json +1 -1
- package/build/esm/assets/tavio-B1khIpU-.js +0 -966
|
@@ -421,6 +421,10 @@ export declare class TavioMesh extends EventEmitter {
|
|
|
421
421
|
* @param height - テクスチャの高さ
|
|
422
422
|
*/
|
|
423
423
|
setupGeneralDataTexture(data: Uint8Array, width: number, height: number): DataTexture;
|
|
424
|
+
/**
|
|
425
|
+
* 汎用データ用のテクスチャを更新し uniform 変数へ反映する
|
|
426
|
+
*/
|
|
427
|
+
updateGeneralTexture(): void;
|
|
424
428
|
/**
|
|
425
429
|
* 頂点属性を全走査し原点からの最大距離を求める
|
|
426
430
|
* @private
|
|
@@ -64,18 +64,18 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
64
64
|
|
|
65
65
|
export interface InitOutput {
|
|
66
66
|
readonly memory: WebAssembly.Memory;
|
|
67
|
-
readonly decodePly: (a: number, b: number, c: number) => number;
|
|
68
|
-
readonly encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
69
|
-
readonly registerEventHandler: (a: number) => number;
|
|
70
67
|
readonly decodeSog: (a: number, b: number, c: number) => number;
|
|
71
68
|
readonly decodeTavio: (a: number, b: number, c: number) => number;
|
|
72
69
|
readonly encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
70
|
+
readonly decodePly: (a: number, b: number, c: number) => number;
|
|
71
|
+
readonly encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
72
|
+
readonly main: () => void;
|
|
73
73
|
readonly decodeSplat: (a: number, b: number, c: number) => number;
|
|
74
74
|
readonly decodeSpz: (a: number, b: number, c: number) => number;
|
|
75
75
|
readonly encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
76
76
|
readonly encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
77
|
+
readonly registerEventHandler: (a: number) => number;
|
|
77
78
|
readonly sort: (a: number, b: number, c: number) => number;
|
|
78
|
-
readonly main: () => void;
|
|
79
79
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
80
80
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
81
81
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
@@ -89,9 +89,9 @@ export interface InitOutput {
|
|
|
89
89
|
readonly intounderlyingsink_abort: (a: number, b: number) => number;
|
|
90
90
|
readonly intounderlyingsink_close: (a: number) => number;
|
|
91
91
|
readonly intounderlyingsink_write: (a: number, b: number) => number;
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
92
|
+
readonly __wasm_bindgen_func_elem_2986: (a: number, b: number, c: number, d: number) => void;
|
|
93
|
+
readonly __wasm_bindgen_func_elem_2988: (a: number, b: number, c: number, d: number) => void;
|
|
94
|
+
readonly __wasm_bindgen_func_elem_1061: (a: number, b: number, c: number) => void;
|
|
95
95
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
96
96
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
97
97
|
readonly __wbindgen_export3: (a: number) => void;
|
|
@@ -419,9 +419,6 @@ function __wbg_get_imports() {
|
|
|
419
419
|
__wbg_close_fb954dfaf67b5732: function() { return handleError(function (arg0) {
|
|
420
420
|
getObject(arg0).close();
|
|
421
421
|
}, arguments); },
|
|
422
|
-
__wbg_drawImage_d01c4fbc31d9d46a: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
423
|
-
getObject(arg0).drawImage(getObject(arg1), arg2, arg3);
|
|
424
|
-
}, arguments); },
|
|
425
422
|
__wbg_enqueue_4767ce322820c94d: function() { return handleError(function (arg0, arg1) {
|
|
426
423
|
getObject(arg0).enqueue(getObject(arg1));
|
|
427
424
|
}, arguments); },
|
|
@@ -470,20 +467,6 @@ function __wbg_get_imports() {
|
|
|
470
467
|
const ret = getObject(arg0).headers;
|
|
471
468
|
return addHeapObject(ret);
|
|
472
469
|
},
|
|
473
|
-
__wbg_height_e9bd2453b0432ed7: function(arg0) {
|
|
474
|
-
const ret = getObject(arg0).height;
|
|
475
|
-
return ret;
|
|
476
|
-
},
|
|
477
|
-
__wbg_instanceof_ImageBitmap_2b5ce6be93c15ba9: function(arg0) {
|
|
478
|
-
let result;
|
|
479
|
-
try {
|
|
480
|
-
result = getObject(arg0) instanceof ImageBitmap;
|
|
481
|
-
} catch (_) {
|
|
482
|
-
result = false;
|
|
483
|
-
}
|
|
484
|
-
const ret = result;
|
|
485
|
-
return ret;
|
|
486
|
-
},
|
|
487
470
|
__wbg_instanceof_OffscreenCanvasRenderingContext2d_285a274020b4f230: function(arg0) {
|
|
488
471
|
let result;
|
|
489
472
|
try {
|
|
@@ -524,6 +507,10 @@ function __wbg_get_imports() {
|
|
|
524
507
|
const ret = result;
|
|
525
508
|
return ret;
|
|
526
509
|
},
|
|
510
|
+
__wbg_length_89fece2ef3016355: function(arg0) {
|
|
511
|
+
const ret = getObject(arg0).length;
|
|
512
|
+
return ret;
|
|
513
|
+
},
|
|
527
514
|
__wbg_length_9f1775224cf1d815: function(arg0) {
|
|
528
515
|
const ret = getObject(arg0).length;
|
|
529
516
|
return ret;
|
|
@@ -540,6 +527,9 @@ function __wbg_get_imports() {
|
|
|
540
527
|
const ret = getObject(arg0).length;
|
|
541
528
|
return ret;
|
|
542
529
|
},
|
|
530
|
+
__wbg_log_5ab909734581952b: function(arg0, arg1) {
|
|
531
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
532
|
+
},
|
|
543
533
|
__wbg_new_0c7403db6e782f19: function(arg0) {
|
|
544
534
|
const ret = new Uint8Array(getObject(arg0));
|
|
545
535
|
return addHeapObject(ret);
|
|
@@ -579,7 +569,7 @@ function __wbg_get_imports() {
|
|
|
579
569
|
const a = state0.a;
|
|
580
570
|
state0.a = 0;
|
|
581
571
|
try {
|
|
582
|
-
return
|
|
572
|
+
return __wasm_bindgen_func_elem_2988(a, state0.b, arg0, arg1);
|
|
583
573
|
} finally {
|
|
584
574
|
state0.a = a;
|
|
585
575
|
}
|
|
@@ -594,14 +584,14 @@ function __wbg_get_imports() {
|
|
|
594
584
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
595
585
|
return addHeapObject(ret);
|
|
596
586
|
},
|
|
597
|
-
|
|
598
|
-
const ret = new
|
|
599
|
-
return addHeapObject(ret);
|
|
600
|
-
},
|
|
601
|
-
__wbg_new_with_u8_array_sequence_c0253a8c3b778ebf: function() { return handleError(function (arg0) {
|
|
602
|
-
const ret = new Blob(getObject(arg0));
|
|
587
|
+
__wbg_new_with_js_u8_clamped_array_and_sh_ea44d41b48d90ae0: function() { return handleError(function (arg0, arg1, arg2) {
|
|
588
|
+
const ret = new ImageData(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
603
589
|
return addHeapObject(ret);
|
|
604
590
|
}, arguments); },
|
|
591
|
+
__wbg_new_with_length_a1be700db9996280: function(arg0) {
|
|
592
|
+
const ret = new Uint8ClampedArray(arg0 >>> 0);
|
|
593
|
+
return addHeapObject(ret);
|
|
594
|
+
},
|
|
605
595
|
__wbg_prototypesetcall_3fc9a6ce44bc370b: function(arg0, arg1, arg2) {
|
|
606
596
|
Uint16Array.prototype.set.call(getArrayU16FromWasm0(arg0, arg1), getObject(arg2));
|
|
607
597
|
},
|
|
@@ -615,6 +605,9 @@ function __wbg_get_imports() {
|
|
|
615
605
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
616
606
|
return ret;
|
|
617
607
|
},
|
|
608
|
+
__wbg_putImageData_cb4de9afd58963be: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
609
|
+
getObject(arg0).putImageData(getObject(arg1), arg2, arg3);
|
|
610
|
+
}, arguments); },
|
|
618
611
|
__wbg_queueMicrotask_5d15a957e6aa920e: function(arg0) {
|
|
619
612
|
queueMicrotask(getObject(arg0));
|
|
620
613
|
},
|
|
@@ -636,9 +629,6 @@ function __wbg_get_imports() {
|
|
|
636
629
|
__wbg_respond_008ca9525ae22847: function() { return handleError(function (arg0, arg1) {
|
|
637
630
|
getObject(arg0).respond(arg1 >>> 0);
|
|
638
631
|
}, arguments); },
|
|
639
|
-
__wbg_setTransform_a941b9e657f72427: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
640
|
-
getObject(arg0).setTransform(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
641
|
-
}, arguments); },
|
|
642
632
|
__wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
|
|
643
633
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
644
634
|
return ret;
|
|
@@ -649,6 +639,9 @@ function __wbg_get_imports() {
|
|
|
649
639
|
__wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
|
|
650
640
|
getObject(arg0).set(getArrayU32FromWasm0(arg1, arg2));
|
|
651
641
|
},
|
|
642
|
+
__wbg_set_adfc330e444aa3b4: function(arg0, arg1, arg2) {
|
|
643
|
+
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
644
|
+
},
|
|
652
645
|
__wbg_set_d8f1efe557b9e7e1: function(arg0, arg1, arg2) {
|
|
653
646
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
654
647
|
},
|
|
@@ -707,18 +700,17 @@ function __wbg_get_imports() {
|
|
|
707
700
|
const ret = getObject(arg0).view;
|
|
708
701
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
709
702
|
},
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
return ret;
|
|
703
|
+
__wbg_warn_11efefe1d20326cb: function(arg0, arg1) {
|
|
704
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
713
705
|
},
|
|
714
706
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
715
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
716
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
707
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
708
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1061);
|
|
717
709
|
return addHeapObject(ret);
|
|
718
710
|
},
|
|
719
711
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
720
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
721
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
712
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 581, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
713
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2986);
|
|
722
714
|
return addHeapObject(ret);
|
|
723
715
|
},
|
|
724
716
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -783,14 +775,14 @@ function __wbg_get_imports() {
|
|
|
783
775
|
};
|
|
784
776
|
}
|
|
785
777
|
|
|
786
|
-
function
|
|
787
|
-
wasm.
|
|
778
|
+
function __wasm_bindgen_func_elem_1061(arg0, arg1, arg2) {
|
|
779
|
+
wasm.__wasm_bindgen_func_elem_1061(arg0, arg1, addHeapObject(arg2));
|
|
788
780
|
}
|
|
789
781
|
|
|
790
|
-
function
|
|
782
|
+
function __wasm_bindgen_func_elem_2986(arg0, arg1, arg2) {
|
|
791
783
|
try {
|
|
792
784
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
793
|
-
wasm.
|
|
785
|
+
wasm.__wasm_bindgen_func_elem_2986(retptr, arg0, arg1, addHeapObject(arg2));
|
|
794
786
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
795
787
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
796
788
|
if (r1) {
|
|
@@ -801,8 +793,8 @@ function __wasm_bindgen_func_elem_2675(arg0, arg1, arg2) {
|
|
|
801
793
|
}
|
|
802
794
|
}
|
|
803
795
|
|
|
804
|
-
function
|
|
805
|
-
wasm.
|
|
796
|
+
function __wasm_bindgen_func_elem_2988(arg0, arg1, arg2, arg3) {
|
|
797
|
+
wasm.__wasm_bindgen_func_elem_2988(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
806
798
|
}
|
|
807
799
|
|
|
808
800
|
|
|
Binary file
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const decodePly: (a: number, b: number, c: number) => number;
|
|
5
|
-
export const encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
6
|
-
export const registerEventHandler: (a: number) => number;
|
|
7
4
|
export const decodeSog: (a: number, b: number, c: number) => number;
|
|
8
5
|
export const decodeTavio: (a: number, b: number, c: number) => number;
|
|
9
6
|
export const encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
7
|
+
export const decodePly: (a: number, b: number, c: number) => number;
|
|
8
|
+
export const encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
9
|
+
export const main: () => void;
|
|
10
10
|
export const decodeSplat: (a: number, b: number, c: number) => number;
|
|
11
11
|
export const decodeSpz: (a: number, b: number, c: number) => number;
|
|
12
12
|
export const encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
13
13
|
export const encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
14
|
+
export const registerEventHandler: (a: number) => number;
|
|
14
15
|
export const sort: (a: number, b: number, c: number) => number;
|
|
15
|
-
export const main: () => void;
|
|
16
16
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
17
17
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
18
18
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
@@ -26,9 +26,9 @@ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
|
26
26
|
export const intounderlyingsink_abort: (a: number, b: number) => number;
|
|
27
27
|
export const intounderlyingsink_close: (a: number) => number;
|
|
28
28
|
export const intounderlyingsink_write: (a: number, b: number) => number;
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
29
|
+
export const __wasm_bindgen_func_elem_2986: (a: number, b: number, c: number, d: number) => void;
|
|
30
|
+
export const __wasm_bindgen_func_elem_2988: (a: number, b: number, c: number, d: number) => void;
|
|
31
|
+
export const __wasm_bindgen_func_elem_1061: (a: number, b: number, c: number) => void;
|
|
32
32
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
33
33
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
34
34
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -79,15 +79,15 @@ export interface InitOutput {
|
|
|
79
79
|
readonly decodeSog: (a: number, b: number, c: number) => number;
|
|
80
80
|
readonly decodeTavio: (a: number, b: number, c: number) => number;
|
|
81
81
|
readonly encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
82
|
-
readonly
|
|
82
|
+
readonly sort: (a: number, b: number, c: number) => number;
|
|
83
|
+
readonly decodePly: (a: number, b: number, c: number) => number;
|
|
83
84
|
readonly decodeSplat: (a: number, b: number, c: number) => number;
|
|
84
85
|
readonly decodeSpz: (a: number, b: number, c: number) => number;
|
|
86
|
+
readonly encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
85
87
|
readonly encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
86
88
|
readonly encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
87
|
-
readonly decodePly: (a: number, b: number, c: number) => number;
|
|
88
|
-
readonly encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
89
89
|
readonly registerEventHandler: (a: number) => number;
|
|
90
|
-
readonly
|
|
90
|
+
readonly main: () => void;
|
|
91
91
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
92
92
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
93
93
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
@@ -107,10 +107,10 @@ export interface InitOutput {
|
|
|
107
107
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
108
108
|
readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
|
|
109
109
|
readonly wbg_rayon_start_worker: (a: number) => void;
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
110
|
+
readonly __wasm_bindgen_func_elem_3027: (a: number, b: number, c: number, d: number) => void;
|
|
111
|
+
readonly __wasm_bindgen_func_elem_3030: (a: number, b: number, c: number, d: number) => void;
|
|
112
|
+
readonly __wasm_bindgen_func_elem_1143: (a: number, b: number, c: number) => void;
|
|
113
|
+
readonly __wasm_bindgen_func_elem_3029: (a: number, b: number, c: number) => void;
|
|
114
114
|
readonly memory: WebAssembly.Memory;
|
|
115
115
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
116
116
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -498,9 +498,6 @@ function __wbg_get_imports(memory) {
|
|
|
498
498
|
const ret = getObject(arg0).data;
|
|
499
499
|
return addHeapObject(ret);
|
|
500
500
|
},
|
|
501
|
-
__wbg_drawImage_d01c4fbc31d9d46a: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
502
|
-
getObject(arg0).drawImage(getObject(arg1), arg2, arg3);
|
|
503
|
-
}, arguments); },
|
|
504
501
|
__wbg_enqueue_4767ce322820c94d: function() { return handleError(function (arg0, arg1) {
|
|
505
502
|
getObject(arg0).enqueue(getObject(arg1));
|
|
506
503
|
}, arguments); },
|
|
@@ -549,20 +546,6 @@ function __wbg_get_imports(memory) {
|
|
|
549
546
|
const ret = getObject(arg0).headers;
|
|
550
547
|
return addHeapObject(ret);
|
|
551
548
|
},
|
|
552
|
-
__wbg_height_e9bd2453b0432ed7: function(arg0) {
|
|
553
|
-
const ret = getObject(arg0).height;
|
|
554
|
-
return ret;
|
|
555
|
-
},
|
|
556
|
-
__wbg_instanceof_ImageBitmap_2b5ce6be93c15ba9: function(arg0) {
|
|
557
|
-
let result;
|
|
558
|
-
try {
|
|
559
|
-
result = getObject(arg0) instanceof ImageBitmap;
|
|
560
|
-
} catch (_) {
|
|
561
|
-
result = false;
|
|
562
|
-
}
|
|
563
|
-
const ret = result;
|
|
564
|
-
return ret;
|
|
565
|
-
},
|
|
566
549
|
__wbg_instanceof_OffscreenCanvasRenderingContext2d_285a274020b4f230: function(arg0) {
|
|
567
550
|
let result;
|
|
568
551
|
try {
|
|
@@ -613,6 +596,10 @@ function __wbg_get_imports(memory) {
|
|
|
613
596
|
const ret = result;
|
|
614
597
|
return ret;
|
|
615
598
|
},
|
|
599
|
+
__wbg_length_89fece2ef3016355: function(arg0) {
|
|
600
|
+
const ret = getObject(arg0).length;
|
|
601
|
+
return ret;
|
|
602
|
+
},
|
|
616
603
|
__wbg_length_9f1775224cf1d815: function(arg0) {
|
|
617
604
|
const ret = getObject(arg0).length;
|
|
618
605
|
return ret;
|
|
@@ -629,6 +616,9 @@ function __wbg_get_imports(memory) {
|
|
|
629
616
|
const ret = getObject(arg0).length;
|
|
630
617
|
return ret;
|
|
631
618
|
},
|
|
619
|
+
__wbg_log_5ab909734581952b: function(arg0, arg1) {
|
|
620
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
621
|
+
},
|
|
632
622
|
__wbg_new_036bd6cd9cea9e73: function(arg0, arg1) {
|
|
633
623
|
try {
|
|
634
624
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -636,7 +626,7 @@ function __wbg_get_imports(memory) {
|
|
|
636
626
|
const a = state0.a;
|
|
637
627
|
state0.a = 0;
|
|
638
628
|
try {
|
|
639
|
-
return
|
|
629
|
+
return __wasm_bindgen_func_elem_3030(a, state0.b, arg0, arg1);
|
|
640
630
|
} finally {
|
|
641
631
|
state0.a = a;
|
|
642
632
|
}
|
|
@@ -690,7 +680,7 @@ function __wbg_get_imports(memory) {
|
|
|
690
680
|
const a = state0.a;
|
|
691
681
|
state0.a = 0;
|
|
692
682
|
try {
|
|
693
|
-
return
|
|
683
|
+
return __wasm_bindgen_func_elem_3030(a, state0.b, arg0, arg1);
|
|
694
684
|
} finally {
|
|
695
685
|
state0.a = a;
|
|
696
686
|
}
|
|
@@ -705,14 +695,14 @@ function __wbg_get_imports(memory) {
|
|
|
705
695
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
706
696
|
return addHeapObject(ret);
|
|
707
697
|
},
|
|
708
|
-
|
|
709
|
-
const ret = new
|
|
710
|
-
return addHeapObject(ret);
|
|
711
|
-
},
|
|
712
|
-
__wbg_new_with_u8_array_sequence_c0253a8c3b778ebf: function() { return handleError(function (arg0) {
|
|
713
|
-
const ret = new Blob(getObject(arg0));
|
|
698
|
+
__wbg_new_with_js_u8_clamped_array_and_sh_ea44d41b48d90ae0: function() { return handleError(function (arg0, arg1, arg2) {
|
|
699
|
+
const ret = new ImageData(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
714
700
|
return addHeapObject(ret);
|
|
715
701
|
}, arguments); },
|
|
702
|
+
__wbg_new_with_length_a1be700db9996280: function(arg0) {
|
|
703
|
+
const ret = new Uint8ClampedArray(arg0 >>> 0);
|
|
704
|
+
return addHeapObject(ret);
|
|
705
|
+
},
|
|
716
706
|
__wbg_new_worker_67bd35156d5fafd3: function(arg0, arg1) {
|
|
717
707
|
const ret = new Worker(getStringFromWasm0(arg0, arg1));
|
|
718
708
|
return addHeapObject(ret);
|
|
@@ -737,6 +727,9 @@ function __wbg_get_imports(memory) {
|
|
|
737
727
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
738
728
|
return ret;
|
|
739
729
|
},
|
|
730
|
+
__wbg_putImageData_cb4de9afd58963be: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
731
|
+
getObject(arg0).putImageData(getObject(arg1), arg2, arg3);
|
|
732
|
+
}, arguments); },
|
|
740
733
|
__wbg_queueMicrotask_5d15a957e6aa920e: function(arg0) {
|
|
741
734
|
queueMicrotask(getObject(arg0));
|
|
742
735
|
},
|
|
@@ -758,9 +751,6 @@ function __wbg_get_imports(memory) {
|
|
|
758
751
|
__wbg_respond_008ca9525ae22847: function() { return handleError(function (arg0, arg1) {
|
|
759
752
|
getObject(arg0).respond(arg1 >>> 0);
|
|
760
753
|
}, arguments); },
|
|
761
|
-
__wbg_setTransform_a941b9e657f72427: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
762
|
-
getObject(arg0).setTransform(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
763
|
-
}, arguments); },
|
|
764
754
|
__wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
|
|
765
755
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
766
756
|
return ret;
|
|
@@ -771,6 +761,9 @@ function __wbg_get_imports(memory) {
|
|
|
771
761
|
__wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
|
|
772
762
|
getObject(arg0).set(getArrayU32FromWasm0(arg1, arg2));
|
|
773
763
|
},
|
|
764
|
+
__wbg_set_adfc330e444aa3b4: function(arg0, arg1, arg2) {
|
|
765
|
+
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
766
|
+
},
|
|
774
767
|
__wbg_set_d8f1efe557b9e7e1: function(arg0, arg1, arg2) {
|
|
775
768
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
776
769
|
},
|
|
@@ -852,23 +845,22 @@ function __wbg_get_imports(memory) {
|
|
|
852
845
|
const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
|
|
853
846
|
return addHeapObject(ret);
|
|
854
847
|
},
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
return ret;
|
|
848
|
+
__wbg_warn_11efefe1d20326cb: function(arg0, arg1) {
|
|
849
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
858
850
|
},
|
|
859
851
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
860
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
861
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
852
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 321, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
853
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1143);
|
|
862
854
|
return addHeapObject(ret);
|
|
863
855
|
},
|
|
864
856
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
865
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
866
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
857
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 619, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
858
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3027);
|
|
867
859
|
return addHeapObject(ret);
|
|
868
860
|
},
|
|
869
861
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
870
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
871
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
862
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 647, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
863
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3029);
|
|
872
864
|
return addHeapObject(ret);
|
|
873
865
|
},
|
|
874
866
|
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
@@ -948,18 +940,18 @@ function __wbg_get_imports(memory) {
|
|
|
948
940
|
};
|
|
949
941
|
}
|
|
950
942
|
|
|
951
|
-
function
|
|
952
|
-
wasm.
|
|
943
|
+
function __wasm_bindgen_func_elem_1143(arg0, arg1, arg2) {
|
|
944
|
+
wasm.__wasm_bindgen_func_elem_1143(arg0, arg1, addHeapObject(arg2));
|
|
953
945
|
}
|
|
954
946
|
|
|
955
|
-
function
|
|
956
|
-
wasm.
|
|
947
|
+
function __wasm_bindgen_func_elem_3029(arg0, arg1, arg2) {
|
|
948
|
+
wasm.__wasm_bindgen_func_elem_3029(arg0, arg1, addHeapObject(arg2));
|
|
957
949
|
}
|
|
958
950
|
|
|
959
|
-
function
|
|
951
|
+
function __wasm_bindgen_func_elem_3027(arg0, arg1, arg2) {
|
|
960
952
|
try {
|
|
961
953
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
962
|
-
wasm.
|
|
954
|
+
wasm.__wasm_bindgen_func_elem_3027(retptr, arg0, arg1, addHeapObject(arg2));
|
|
963
955
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
964
956
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
965
957
|
if (r1) {
|
|
@@ -970,8 +962,8 @@ function __wasm_bindgen_func_elem_2709(arg0, arg1, arg2) {
|
|
|
970
962
|
}
|
|
971
963
|
}
|
|
972
964
|
|
|
973
|
-
function
|
|
974
|
-
wasm.
|
|
965
|
+
function __wasm_bindgen_func_elem_3030(arg0, arg1, arg2, arg3) {
|
|
966
|
+
wasm.__wasm_bindgen_func_elem_3030(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
975
967
|
}
|
|
976
968
|
|
|
977
969
|
|
|
Binary file
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
export const decodeSog: (a: number, b: number, c: number) => number;
|
|
4
4
|
export const decodeTavio: (a: number, b: number, c: number) => number;
|
|
5
5
|
export const encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
6
|
-
export const
|
|
6
|
+
export const sort: (a: number, b: number, c: number) => number;
|
|
7
|
+
export const decodePly: (a: number, b: number, c: number) => number;
|
|
7
8
|
export const decodeSplat: (a: number, b: number, c: number) => number;
|
|
8
9
|
export const decodeSpz: (a: number, b: number, c: number) => number;
|
|
10
|
+
export const encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
9
11
|
export const encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
10
12
|
export const encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
11
|
-
export const decodePly: (a: number, b: number, c: number) => number;
|
|
12
|
-
export const encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
13
13
|
export const registerEventHandler: (a: number) => number;
|
|
14
|
-
export const
|
|
14
|
+
export const main: () => void;
|
|
15
15
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
16
16
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
17
17
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
@@ -31,10 +31,10 @@ export const wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
|
31
31
|
export const wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
32
32
|
export const wbg_rayon_poolbuilder_receiver: (a: number) => number;
|
|
33
33
|
export const wbg_rayon_start_worker: (a: number) => void;
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
34
|
+
export const __wasm_bindgen_func_elem_3027: (a: number, b: number, c: number, d: number) => void;
|
|
35
|
+
export const __wasm_bindgen_func_elem_3030: (a: number, b: number, c: number, d: number) => void;
|
|
36
|
+
export const __wasm_bindgen_func_elem_1143: (a: number, b: number, c: number) => void;
|
|
37
|
+
export const __wasm_bindgen_func_elem_3029: (a: number, b: number, c: number) => void;
|
|
38
38
|
export const memory: WebAssembly.Memory;
|
|
39
39
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
40
40
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|