@dcl-regenesislabs/bevy-explorer-web 0.1.0-23535937137.commit-af71852 → 0.1.0-23549424329.commit-8af2991
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/.env +1 -1
- package/index.html +1 -1
- package/package.json +3 -3
- package/pkg/manifest.json +1 -1
- package/pkg/webgpu_build.d.ts +3 -3
- package/pkg/webgpu_build.js +33 -33
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +3 -3
- package/sceneUtils.js +46 -0
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-23549424329.commit-8af2991"
|
package/index.html
CHANGED
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
}
|
|
412
412
|
</style>
|
|
413
413
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
414
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
414
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-23549424329.commit-8af2991";</script>
|
|
415
415
|
</head>
|
|
416
416
|
<body>
|
|
417
417
|
<div id="header" class="container">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-23549424329.commit-8af2991",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-23549424329.commit-8af2991",
|
|
12
|
+
"commit": "8af2991d5bdbe9664a861e0f514b8bb4bcf5d5c3"
|
|
13
13
|
}
|
package/pkg/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wasmSize":
|
|
1
|
+
{"wasmSize":118244676}
|
package/pkg/webgpu_build.d.ts
CHANGED
|
@@ -431,7 +431,7 @@ export interface InitOutput {
|
|
|
431
431
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output________3_: (a: number, b: number) => void;
|
|
432
432
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output___core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___: (a: number, b: number) => void;
|
|
433
433
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__f64__wasm_bindgen_6c0c3bb491d8811b___JsValue___Output_______: (a: number, b: number) => void;
|
|
434
|
-
readonly
|
|
434
|
+
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__Fn__comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent____Output_______: (a: number, b: number) => void;
|
|
435
435
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent____Output_______: (a: number, b: number) => void;
|
|
436
436
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
|
|
437
437
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output_______: (a: number, b: number) => void;
|
|
@@ -443,14 +443,14 @@ export interface InitOutput {
|
|
|
443
443
|
readonly wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______: (a: number, b: number) => void;
|
|
444
444
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___f64__wasm_bindgen_6c0c3bb491d8811b___JsValue______true_: (a: number, b: number, c: number, d: any) => void;
|
|
445
445
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
446
|
-
readonly
|
|
446
|
+
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__local_audio_track__LocalAudioTrack__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
447
447
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___js_sys_67c12748f230903f___Array__web_sys_72aa5c11aad59394___features__gen_ResizeObserver__ResizeObserver______true_: (a: number, b: number, c: any, d: any) => void;
|
|
448
448
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___js_sys_67c12748f230903f___Function_fn_wasm_bindgen_6c0c3bb491d8811b___JsValue_____wasm_bindgen_6c0c3bb491d8811b___sys__Undefined___js_sys_67c12748f230903f___Function_fn_wasm_bindgen_6c0c3bb491d8811b___JsValue_____wasm_bindgen_6c0c3bb491d8811b___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
449
449
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__3_: (a: number, b: number, c: any) => void;
|
|
450
450
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__3__1: (a: number, b: number, c: any) => void;
|
|
451
451
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__4_: (a: number, b: number, c: any) => void;
|
|
452
452
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
453
|
-
readonly
|
|
453
|
+
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
|
|
454
454
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
|
|
455
455
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
456
456
|
readonly wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent______true_: (a: number, b: number, c: any) => void;
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -4406,27 +4406,27 @@ function __wbg_get_imports(memory) {
|
|
|
4406
4406
|
return ret;
|
|
4407
4407
|
},
|
|
4408
4408
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
4409
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4409
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 124576, function: Function { arguments: [Externref], shim_idx: 124577, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4410
4410
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output________2_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__3_);
|
|
4411
4411
|
return ret;
|
|
4412
4412
|
},
|
|
4413
4413
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
4414
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4414
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 124576, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 124577, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4415
4415
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output________2_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__3__1);
|
|
4416
4416
|
return ret;
|
|
4417
4417
|
},
|
|
4418
4418
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
4419
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4419
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 131847, function: Function { arguments: [Externref], shim_idx: 131848, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4420
4420
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output________3_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__4_);
|
|
4421
4421
|
return ret;
|
|
4422
4422
|
},
|
|
4423
4423
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
4424
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4424
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 139901, function: Function { arguments: [Externref], shim_idx: 139902, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4425
4425
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output___core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_);
|
|
4426
4426
|
return ret;
|
|
4427
4427
|
},
|
|
4428
4428
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
4429
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4429
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 139901, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 139904, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4430
4430
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output___core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_MessageEvent__MessageEvent______true_);
|
|
4431
4431
|
return ret;
|
|
4432
4432
|
},
|
|
@@ -4436,112 +4436,112 @@ function __wbg_get_imports(memory) {
|
|
|
4436
4436
|
return ret;
|
|
4437
4437
|
},
|
|
4438
4438
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
4439
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4440
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
4439
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 45801, function: Function { arguments: [Externref], shim_idx: 45802, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
4440
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__Fn__comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__local_audio_track__LocalAudioTrack__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_);
|
|
4441
4441
|
return ret;
|
|
4442
4442
|
},
|
|
4443
4443
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
4444
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4445
|
-
const ret = makeClosure(arg0, arg1, wasm.
|
|
4444
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 45801, function: Function { arguments: [Externref], shim_idx: 45804, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
4445
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__Fn__comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent______true_);
|
|
4446
4446
|
return ret;
|
|
4447
4447
|
},
|
|
4448
4448
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
4449
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4449
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 55470, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 55471, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4450
4450
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent______true_);
|
|
4451
4451
|
return ret;
|
|
4452
4452
|
},
|
|
4453
4453
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
4454
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4454
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 55575, function: Function { arguments: [], shim_idx: 55576, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4455
4455
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke_______true_);
|
|
4456
4456
|
return ret;
|
|
4457
4457
|
},
|
|
4458
4458
|
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
4459
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4459
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 55578, function: Function { arguments: [Externref], shim_idx: 55579, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4460
4460
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true_);
|
|
4461
4461
|
return ret;
|
|
4462
4462
|
},
|
|
4463
4463
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
4464
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4464
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 58838, function: Function { arguments: [], shim_idx: 58839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4465
4465
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output________1_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke_______true__1_);
|
|
4466
4466
|
return ret;
|
|
4467
4467
|
},
|
|
4468
4468
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
4469
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4469
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59446, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 59447, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4470
4470
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent______true_);
|
|
4471
4471
|
return ret;
|
|
4472
4472
|
},
|
|
4473
4473
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
4474
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4474
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59446, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 59447, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4475
4475
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent______true__13);
|
|
4476
4476
|
return ret;
|
|
4477
4477
|
},
|
|
4478
4478
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
4479
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4479
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 59446, function: Function { arguments: [NamedExternref("TouchEvent")], shim_idx: 59447, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4480
4480
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent______true__14);
|
|
4481
4481
|
return ret;
|
|
4482
4482
|
},
|
|
4483
4483
|
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
4484
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4484
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 62698, function: Function { arguments: [], shim_idx: 62699, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4485
4485
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output________2_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke_______true__2_);
|
|
4486
4486
|
return ret;
|
|
4487
4487
|
},
|
|
4488
4488
|
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
4489
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4489
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 63072, function: Function { arguments: [], shim_idx: 63073, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4490
4490
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output________3_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke_______true__3_);
|
|
4491
4491
|
return ret;
|
|
4492
4492
|
},
|
|
4493
4493
|
__wbindgen_cast_0000000000000012: function(arg0, arg1) {
|
|
4494
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4494
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 63108, function: Function { arguments: [Externref], shim_idx: 63109, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4495
4495
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output________1_, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__1_);
|
|
4496
4496
|
return ret;
|
|
4497
4497
|
},
|
|
4498
4498
|
__wbindgen_cast_0000000000000013: function(arg0, arg1) {
|
|
4499
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4499
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [Externref], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4500
4500
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2_);
|
|
4501
4501
|
return ret;
|
|
4502
4502
|
},
|
|
4503
4503
|
__wbindgen_cast_0000000000000014: function(arg0, arg1) {
|
|
4504
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4504
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 64552, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4505
4505
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___js_sys_67c12748f230903f___Array__web_sys_72aa5c11aad59394___features__gen_ResizeObserver__ResizeObserver______true_);
|
|
4506
4506
|
return ret;
|
|
4507
4507
|
},
|
|
4508
4508
|
__wbindgen_cast_0000000000000015: function(arg0, arg1) {
|
|
4509
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4509
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4510
4510
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__20);
|
|
4511
4511
|
return ret;
|
|
4512
4512
|
},
|
|
4513
4513
|
__wbindgen_cast_0000000000000016: function(arg0, arg1) {
|
|
4514
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4514
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("Event")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4515
4515
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__21);
|
|
4516
4516
|
return ret;
|
|
4517
4517
|
},
|
|
4518
4518
|
__wbindgen_cast_0000000000000017: function(arg0, arg1) {
|
|
4519
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4519
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4520
4520
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__22);
|
|
4521
4521
|
return ret;
|
|
4522
4522
|
},
|
|
4523
4523
|
__wbindgen_cast_0000000000000018: function(arg0, arg1) {
|
|
4524
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4524
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4525
4525
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__23);
|
|
4526
4526
|
return ret;
|
|
4527
4527
|
},
|
|
4528
4528
|
__wbindgen_cast_0000000000000019: function(arg0, arg1) {
|
|
4529
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4529
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4530
4530
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__24);
|
|
4531
4531
|
return ret;
|
|
4532
4532
|
},
|
|
4533
4533
|
__wbindgen_cast_000000000000001a: function(arg0, arg1) {
|
|
4534
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4534
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4535
4535
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__25);
|
|
4536
4536
|
return ret;
|
|
4537
4537
|
},
|
|
4538
4538
|
__wbindgen_cast_000000000000001b: function(arg0, arg1) {
|
|
4539
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4539
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 64545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4540
4540
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__2__26);
|
|
4541
4541
|
return ret;
|
|
4542
4542
|
},
|
|
4543
4543
|
__wbindgen_cast_000000000000001c: function(arg0, arg1) {
|
|
4544
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
4544
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 64544, function: Function { arguments: [], shim_idx: 64560, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
4545
4545
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______, wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke_______true__4_);
|
|
4546
4546
|
return ret;
|
|
4547
4547
|
},
|
|
@@ -4949,8 +4949,8 @@ function wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_
|
|
|
4949
4949
|
wasm.wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2);
|
|
4950
4950
|
}
|
|
4951
4951
|
|
|
4952
|
-
function
|
|
4953
|
-
wasm.
|
|
4952
|
+
function wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2) {
|
|
4953
|
+
wasm.wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2);
|
|
4954
4954
|
}
|
|
4955
4955
|
|
|
4956
4956
|
function wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2) {
|
|
@@ -5016,8 +5016,8 @@ function wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bin
|
|
|
5016
5016
|
}
|
|
5017
5017
|
}
|
|
5018
5018
|
|
|
5019
|
-
function
|
|
5020
|
-
const ret = wasm.
|
|
5019
|
+
function wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__local_audio_track__LocalAudioTrack__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_(arg0, arg1, arg2) {
|
|
5020
|
+
const ret = wasm.wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__local_audio_track__LocalAudioTrack__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_(arg0, arg1, arg2);
|
|
5021
5021
|
if (ret[1]) {
|
|
5022
5022
|
throw takeFromExternrefTable0(ret[0]);
|
|
5023
5023
|
}
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
|
@@ -132,7 +132,7 @@ export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7
|
|
|
132
132
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output________3_: (a: number, b: number) => void;
|
|
133
133
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output___core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___: (a: number, b: number) => void;
|
|
134
134
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__f64__wasm_bindgen_6c0c3bb491d8811b___JsValue___Output_______: (a: number, b: number) => void;
|
|
135
|
-
export const
|
|
135
|
+
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__Fn__comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent____Output_______: (a: number, b: number) => void;
|
|
136
136
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent____Output_______: (a: number, b: number) => void;
|
|
137
137
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
|
|
138
138
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__wasm_bindgen_6c0c3bb491d8811b___JsValue____Output_______: (a: number, b: number) => void;
|
|
@@ -144,14 +144,14 @@ export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7
|
|
|
144
144
|
export const wasm_bindgen_6c0c3bb491d8811b___closure__destroy___dyn_core_f2710c7f87f75ba1___ops__function__FnMut__core_f2710c7f87f75ba1___option__Option_web_sys_72aa5c11aad59394___features__gen_Blob__Blob_____Output_______: (a: number, b: number) => void;
|
|
145
145
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___f64__wasm_bindgen_6c0c3bb491d8811b___JsValue______true_: (a: number, b: number, c: number, d: any) => void;
|
|
146
146
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
147
|
-
export const
|
|
147
|
+
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__local_audio_track__LocalAudioTrack__core_f2710c7f87f75ba1___result__Result_____wasm_bindgen_6c0c3bb491d8811b___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
148
148
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___js_sys_67c12748f230903f___Array__web_sys_72aa5c11aad59394___features__gen_ResizeObserver__ResizeObserver______true_: (a: number, b: number, c: any, d: any) => void;
|
|
149
149
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___js_sys_67c12748f230903f___Function_fn_wasm_bindgen_6c0c3bb491d8811b___JsValue_____wasm_bindgen_6c0c3bb491d8811b___sys__Undefined___js_sys_67c12748f230903f___Function_fn_wasm_bindgen_6c0c3bb491d8811b___JsValue_____wasm_bindgen_6c0c3bb491d8811b___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
150
150
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__3_: (a: number, b: number, c: any) => void;
|
|
151
151
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__3__1: (a: number, b: number, c: any) => void;
|
|
152
152
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true__4_: (a: number, b: number, c: any) => void;
|
|
153
153
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
154
|
-
export const
|
|
154
|
+
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___comms_dd97b515061aedf0___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
|
|
155
155
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
|
|
156
156
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___wasm_bindgen_6c0c3bb491d8811b___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
157
157
|
export const wasm_bindgen_6c0c3bb491d8811b___convert__closures_____invoke___web_sys_72aa5c11aad59394___features__gen_InputEvent__InputEvent______true_: (a: number, b: number, c: any) => void;
|
package/sceneUtils.js
CHANGED
|
@@ -83,3 +83,49 @@ function printEntitiesByDistance(componentName) {
|
|
|
83
83
|
)
|
|
84
84
|
);
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
async function uiTree() {
|
|
88
|
+
const snapshot = await engine_console_command("/crdt_snapshot").then(JSON.parse);
|
|
89
|
+
const rows = Object.entries(snapshot)
|
|
90
|
+
.filter(([, c]) => c.UiText || c.UiTransform)
|
|
91
|
+
.map(([id, c]) => ({
|
|
92
|
+
id,
|
|
93
|
+
parent: c.UiTransform?.parent ?? 0,
|
|
94
|
+
rightOf: c.UiTransform?.rightOf ?? 0,
|
|
95
|
+
value: c.UiText?.value,
|
|
96
|
+
}));
|
|
97
|
+
|
|
98
|
+
const byParent = {};
|
|
99
|
+
rows.forEach(r => {
|
|
100
|
+
byParent[r.parent] = byParent[r.parent] || [];
|
|
101
|
+
byParent[r.parent].push(r);
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
const orderChildren = (kids) => {
|
|
105
|
+
const byRight = {};
|
|
106
|
+
kids.forEach(k => { byRight[k.rightOf] = k; });
|
|
107
|
+
const ordered = [];
|
|
108
|
+
let cur = kids.find(k => !kids.some(o => String(o.id) === String(k.rightOf)));
|
|
109
|
+
while (cur) {
|
|
110
|
+
ordered.push(cur);
|
|
111
|
+
cur = byRight[cur.id];
|
|
112
|
+
}
|
|
113
|
+
kids.filter(k => !ordered.includes(k)).forEach(k => ordered.push(k));
|
|
114
|
+
return ordered;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const sorted = [];
|
|
118
|
+
const visit = (parentId) => {
|
|
119
|
+
const kids = byParent[parentId];
|
|
120
|
+
if (!kids) return;
|
|
121
|
+
orderChildren(kids).forEach(k => {
|
|
122
|
+
sorted.push(k);
|
|
123
|
+
visit(k.id);
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
visit(0);
|
|
127
|
+
rows.filter(r => !sorted.includes(r)).forEach(r => sorted.push(r));
|
|
128
|
+
|
|
129
|
+
console.table(sorted);
|
|
130
|
+
return sorted;
|
|
131
|
+
}
|