@splinetool/viewer 2.0.156 → 2.0.158
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/hana-ui.js +28 -28
- package/build/hana-ui.wasm +0 -0
- package/build/spline-viewer.cjs +134 -114
- package/build/spline-viewer.js +134 -114
- package/build/spline-viewer.webgl.js +88 -68
- package/build/spline-viewer.webgpu.js +87 -67
- package/package.json +1 -1
package/build/hana-ui.js
CHANGED
|
@@ -2547,7 +2547,7 @@ function __wbg_get_imports() {
|
|
|
2547
2547
|
const a = state0.a;
|
|
2548
2548
|
state0.a = 0;
|
|
2549
2549
|
try {
|
|
2550
|
-
return
|
|
2550
|
+
return __wasm_bindgen_func_elem_14172(a, state0.b, arg0, arg1);
|
|
2551
2551
|
} finally {
|
|
2552
2552
|
state0.a = a;
|
|
2553
2553
|
}
|
|
@@ -2593,7 +2593,7 @@ function __wbg_get_imports() {
|
|
|
2593
2593
|
const a = state0.a;
|
|
2594
2594
|
state0.a = 0;
|
|
2595
2595
|
try {
|
|
2596
|
-
return
|
|
2596
|
+
return __wasm_bindgen_func_elem_14172(a, state0.b, arg0, arg1);
|
|
2597
2597
|
} finally {
|
|
2598
2598
|
state0.a = a;
|
|
2599
2599
|
}
|
|
@@ -3705,7 +3705,7 @@ function __wbg_get_imports() {
|
|
|
3705
3705
|
}, arguments); },
|
|
3706
3706
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3707
3707
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1041, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3708
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3708
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_14170);
|
|
3709
3709
|
return addHeapObject(ret);
|
|
3710
3710
|
},
|
|
3711
3711
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
@@ -3715,37 +3715,37 @@ function __wbg_get_imports() {
|
|
|
3715
3715
|
},
|
|
3716
3716
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3717
3717
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUComputePipeline")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3718
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3718
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11170);
|
|
3719
3719
|
return addHeapObject(ret);
|
|
3720
3720
|
},
|
|
3721
3721
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3722
3722
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3723
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3723
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11170_3);
|
|
3724
3724
|
return addHeapObject(ret);
|
|
3725
3725
|
},
|
|
3726
3726
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3727
3727
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 930, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3728
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3728
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11171);
|
|
3729
3729
|
return addHeapObject(ret);
|
|
3730
3730
|
},
|
|
3731
3731
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3732
3732
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPURenderPipeline")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3733
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3733
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11170_5);
|
|
3734
3734
|
return addHeapObject(ret);
|
|
3735
3735
|
},
|
|
3736
3736
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3737
3737
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3738
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3738
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11170_6);
|
|
3739
3739
|
return addHeapObject(ret);
|
|
3740
3740
|
},
|
|
3741
3741
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3742
3742
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3743
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3743
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11170_7);
|
|
3744
3744
|
return addHeapObject(ret);
|
|
3745
3745
|
},
|
|
3746
3746
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
3747
3747
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1024, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3748
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3748
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12535);
|
|
3749
3749
|
return addHeapObject(ret);
|
|
3750
3750
|
},
|
|
3751
3751
|
__wbindgen_cast_000000000000000a: function(arg0) {
|
|
@@ -3819,22 +3819,22 @@ function __wbg_get_imports() {
|
|
|
3819
3819
|
};
|
|
3820
3820
|
}
|
|
3821
3821
|
|
|
3822
|
-
function
|
|
3823
|
-
wasm.
|
|
3822
|
+
function __wasm_bindgen_func_elem_12535(arg0, arg1) {
|
|
3823
|
+
wasm.__wasm_bindgen_func_elem_12535(arg0, arg1);
|
|
3824
3824
|
}
|
|
3825
3825
|
|
|
3826
3826
|
function __wasm_bindgen_func_elem_5131(arg0, arg1, arg2) {
|
|
3827
3827
|
wasm.__wasm_bindgen_func_elem_5131(arg0, arg1, addHeapObject(arg2));
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
3830
|
-
function
|
|
3831
|
-
wasm.
|
|
3830
|
+
function __wasm_bindgen_func_elem_11171(arg0, arg1, arg2) {
|
|
3831
|
+
wasm.__wasm_bindgen_func_elem_11171(arg0, arg1, addHeapObject(arg2));
|
|
3832
3832
|
}
|
|
3833
3833
|
|
|
3834
|
-
function
|
|
3834
|
+
function __wasm_bindgen_func_elem_14170(arg0, arg1, arg2) {
|
|
3835
3835
|
try {
|
|
3836
3836
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3837
|
-
wasm.
|
|
3837
|
+
wasm.__wasm_bindgen_func_elem_14170(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3838
3838
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3839
3839
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3840
3840
|
if (r1) {
|
|
@@ -3845,10 +3845,10 @@ function __wasm_bindgen_func_elem_14165(arg0, arg1, arg2) {
|
|
|
3845
3845
|
}
|
|
3846
3846
|
}
|
|
3847
3847
|
|
|
3848
|
-
function
|
|
3848
|
+
function __wasm_bindgen_func_elem_11170(arg0, arg1, arg2) {
|
|
3849
3849
|
try {
|
|
3850
3850
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3851
|
-
wasm.
|
|
3851
|
+
wasm.__wasm_bindgen_func_elem_11170(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3852
3852
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3853
3853
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3854
3854
|
if (r1) {
|
|
@@ -3859,10 +3859,10 @@ function __wasm_bindgen_func_elem_11165(arg0, arg1, arg2) {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
|
|
3862
|
-
function
|
|
3862
|
+
function __wasm_bindgen_func_elem_11170_3(arg0, arg1, arg2) {
|
|
3863
3863
|
try {
|
|
3864
3864
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3865
|
-
wasm.
|
|
3865
|
+
wasm.__wasm_bindgen_func_elem_11170_3(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3866
3866
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3867
3867
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3868
3868
|
if (r1) {
|
|
@@ -3873,10 +3873,10 @@ function __wasm_bindgen_func_elem_11165_3(arg0, arg1, arg2) {
|
|
|
3873
3873
|
}
|
|
3874
3874
|
}
|
|
3875
3875
|
|
|
3876
|
-
function
|
|
3876
|
+
function __wasm_bindgen_func_elem_11170_5(arg0, arg1, arg2) {
|
|
3877
3877
|
try {
|
|
3878
3878
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3879
|
-
wasm.
|
|
3879
|
+
wasm.__wasm_bindgen_func_elem_11170_5(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3880
3880
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3881
3881
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3882
3882
|
if (r1) {
|
|
@@ -3887,10 +3887,10 @@ function __wasm_bindgen_func_elem_11165_5(arg0, arg1, arg2) {
|
|
|
3887
3887
|
}
|
|
3888
3888
|
}
|
|
3889
3889
|
|
|
3890
|
-
function
|
|
3890
|
+
function __wasm_bindgen_func_elem_11170_6(arg0, arg1, arg2) {
|
|
3891
3891
|
try {
|
|
3892
3892
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3893
|
-
wasm.
|
|
3893
|
+
wasm.__wasm_bindgen_func_elem_11170_6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3894
3894
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3895
3895
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3896
3896
|
if (r1) {
|
|
@@ -3901,10 +3901,10 @@ function __wasm_bindgen_func_elem_11165_6(arg0, arg1, arg2) {
|
|
|
3901
3901
|
}
|
|
3902
3902
|
}
|
|
3903
3903
|
|
|
3904
|
-
function
|
|
3904
|
+
function __wasm_bindgen_func_elem_11170_7(arg0, arg1, arg2) {
|
|
3905
3905
|
try {
|
|
3906
3906
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3907
|
-
wasm.
|
|
3907
|
+
wasm.__wasm_bindgen_func_elem_11170_7(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3908
3908
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3909
3909
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3910
3910
|
if (r1) {
|
|
@@ -3915,8 +3915,8 @@ function __wasm_bindgen_func_elem_11165_7(arg0, arg1, arg2) {
|
|
|
3915
3915
|
}
|
|
3916
3916
|
}
|
|
3917
3917
|
|
|
3918
|
-
function
|
|
3919
|
-
wasm.
|
|
3918
|
+
function __wasm_bindgen_func_elem_14172(arg0, arg1, arg2, arg3) {
|
|
3919
|
+
wasm.__wasm_bindgen_func_elem_14172(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
3920
3920
|
}
|
|
3921
3921
|
|
|
3922
3922
|
|
package/build/hana-ui.wasm
CHANGED
|
Binary file
|