@holoscript/core 8.0.5 → 8.0.6
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/dist/{GLTFPipeline-EK3LFJKW.cjs → GLTFPipeline-PVLTKDBD.cjs} +11 -11
- package/dist/{GLTFPipeline-37FPRVPH.js → GLTFPipeline-QPI4I7DL.js} +7 -7
- package/dist/{HoloScriptRuntime-ACDFKVVH.js → HoloScriptRuntime-6ZGLUCFS.js} +3 -3
- package/dist/{HoloScriptRuntime-ON2OQVEF.cjs → HoloScriptRuntime-ALUASIL2.cjs} +4 -4
- package/dist/{chunk-V6MKC2FZ.js → chunk-2GQHTXOK.js} +3 -3
- package/dist/{chunk-ROHLEP2W.cjs → chunk-2J5WZLF5.cjs} +19 -19
- package/dist/{chunk-HKEXJUWS.cjs → chunk-2VL6SJ33.cjs} +7 -7
- package/dist/{chunk-YWOBW2PV.cjs → chunk-3B5NVDHJ.cjs} +18 -18
- package/dist/{chunk-J7XZV333.js → chunk-3B7AY37W.js} +4 -4
- package/dist/{chunk-LKWQNUE6.cjs → chunk-3OIZJNVT.cjs} +5 -5
- package/dist/{chunk-HNDK4IQU.cjs → chunk-3SBVODUP.cjs} +19 -19
- package/dist/{chunk-JBNDTXXV.cjs → chunk-44GM3P4G.cjs} +18 -18
- package/dist/{chunk-MVPBWHAC.js → chunk-4DO425P5.js} +3 -3
- package/dist/{chunk-ON5QSY35.cjs → chunk-4FDL7JLJ.cjs} +76 -45
- package/dist/{chunk-XB274MW5.cjs → chunk-5BLWXOIP.cjs} +13 -13
- package/dist/{chunk-QACVP4PM.js → chunk-5BQIJG3O.js} +33 -5
- package/dist/{chunk-XKTPFXGA.js → chunk-5IHG2LGT.js} +3 -3
- package/dist/{chunk-7M3PNU2M.cjs → chunk-5TIZXMED.cjs} +10 -10
- package/dist/{chunk-UFZZ7TSN.cjs → chunk-6DOKCECB.cjs} +20 -20
- package/dist/{chunk-ONDAWTW4.js → chunk-6OTFG3EB.js} +3 -3
- package/dist/{chunk-OJXHYNXN.js → chunk-7MVLEZB2.js} +3 -3
- package/dist/{chunk-5NWINHR5.cjs → chunk-A3GFOZAF.cjs} +38 -38
- package/dist/{chunk-OBIYPYYS.cjs → chunk-BFROVZOF.cjs} +5 -5
- package/dist/{chunk-UWJHCOH2.js → chunk-BKCK3IU6.js} +4 -4
- package/dist/{chunk-DHO2YRIM.js → chunk-C34AJIJO.js} +4 -4
- package/dist/{chunk-QPSKHBJP.js → chunk-CXS3DUKD.js} +12 -6
- package/dist/{chunk-ANXZFVY2.js → chunk-D63CGNJU.js} +3 -3
- package/dist/{chunk-CCATWPXM.js → chunk-DBPGNHFS.js} +4 -4
- package/dist/{chunk-6DO5IZ5N.cjs → chunk-DCE3LDO3.cjs} +36 -6
- package/dist/{chunk-BOVPWH4H.js → chunk-DPZXVDGM.js} +3 -3
- package/dist/{chunk-FXKAW7ZO.cjs → chunk-DQRQZB33.cjs} +3 -3
- package/dist/{chunk-QD32ADK6.js → chunk-E64LOLJU.js} +4 -4
- package/dist/{chunk-IUTY5WQ2.cjs → chunk-E767PVC6.cjs} +5 -5
- package/dist/{chunk-CMT5NMMS.js → chunk-EK7L4DW7.js} +4 -4
- package/dist/{chunk-D3STJ56J.js → chunk-F63LYRVE.js} +4 -4
- package/dist/{chunk-OBP5REIV.js → chunk-GCYR3D2K.js} +5 -5
- package/dist/{chunk-ZMCVKFXI.cjs → chunk-H5PUZHJV.cjs} +95 -9
- package/dist/{chunk-2X7NGX3M.js → chunk-HBEN5TQR.js} +4 -4
- package/dist/{chunk-2IWC4FP7.cjs → chunk-HBLKLLG5.cjs} +10 -10
- package/dist/{chunk-NCWCUZNS.cjs → chunk-IBXT6UP3.cjs} +14 -14
- package/dist/{chunk-DAJXW4KX.js → chunk-IIUFMUTV.js} +3 -3
- package/dist/{chunk-OH2FAIVU.js → chunk-IS4AEGLU.js} +4 -4
- package/dist/{chunk-PY37LNDP.js → chunk-ISG3TQ2O.js} +4 -4
- package/dist/{chunk-ADADVMXY.js → chunk-ISM4NX6N.js} +2 -2
- package/dist/{chunk-WRKUDAZJ.js → chunk-JEB5UU3E.js} +3 -3
- package/dist/{chunk-KMC6CQH3.js → chunk-K5UGRXKR.js} +5 -5
- package/dist/{chunk-OMXII44L.js → chunk-KDZRD6EI.js} +3 -3
- package/dist/{chunk-ZU7NIRT6.js → chunk-LAUFLPB6.js} +3 -3
- package/dist/{chunk-JC5YBPSF.cjs → chunk-LY4DMQOW.cjs} +5 -5
- package/dist/{chunk-KQCN6AKJ.cjs → chunk-N5YOAFNA.cjs} +5 -5
- package/dist/{chunk-WQKJSGVS.js → chunk-NDUX553L.js} +36 -6
- package/dist/{chunk-5H2G27PK.cjs → chunk-NE5CZ2NC.cjs} +38 -38
- package/dist/{chunk-4SDKXQ4C.js → chunk-NPDNFPTU.js} +4 -4
- package/dist/{chunk-S3MDHNKB.cjs → chunk-NTGBEMYL.cjs} +5 -5
- package/dist/{chunk-CR4FMIWL.cjs → chunk-NTJZJ5IP.cjs} +14 -14
- package/dist/{chunk-3WZEJHUQ.cjs → chunk-OXGPGQXN.cjs} +7 -7
- package/dist/{chunk-YN2YWTXW.js → chunk-P4AIF7OQ.js} +4 -4
- package/dist/{chunk-YVD3CSO3.js → chunk-P52PPB5R.js} +4 -4
- package/dist/{chunk-YT5L3B57.cjs → chunk-PVWNU4QT.cjs} +5 -5
- package/dist/{chunk-KKP7JKN4.cjs → chunk-QWAR3GY6.cjs} +12 -6
- package/dist/{chunk-UWXE23BT.cjs → chunk-QWSB553J.cjs} +4 -4
- package/dist/{chunk-GYZE55MO.js → chunk-RCZHLCX2.js} +3 -3
- package/dist/{chunk-FFAOS5HQ.js → chunk-RXU4PQKA.js} +6 -6
- package/dist/{chunk-5KVXXUD4.js → chunk-S6OVFUXD.js} +3 -3
- package/dist/{chunk-TWUXUCEW.cjs → chunk-TCBJMNXS.cjs} +38 -38
- package/dist/{chunk-J6M4FPK5.js → chunk-TDCJ7YPA.js} +3 -3
- package/dist/{chunk-4V2E7U7Q.cjs → chunk-TFUMBR7G.cjs} +7 -7
- package/dist/{chunk-XIVIE43A.cjs → chunk-TFWYKOOB.cjs} +5 -5
- package/dist/{chunk-7H33U5SM.cjs → chunk-TJIMBJ6L.cjs} +2 -2
- package/dist/{chunk-QXH7QDSZ.js → chunk-U36W76U7.js} +3 -3
- package/dist/{chunk-E4M5OAYO.js → chunk-ULXWSPCK.js} +38 -7
- package/dist/{chunk-UO4WPSGQ.js → chunk-VATGR4EM.js} +95 -10
- package/dist/{chunk-6FH72EB2.cjs → chunk-VFKXK4GR.cjs} +16 -16
- package/dist/{chunk-LHAXPADA.js → chunk-VHAONJBY.js} +4 -4
- package/dist/{chunk-YN6V7R3L.cjs → chunk-WOH6LKYT.cjs} +5 -5
- package/dist/{chunk-R24NNAEG.js → chunk-X4EBCG4K.js} +4 -4
- package/dist/{chunk-AVJHHUC5.cjs → chunk-X7LYK5TX.cjs} +21 -21
- package/dist/{chunk-FYSPZT4V.cjs → chunk-X7QB5PL5.cjs} +7 -7
- package/dist/{chunk-IUDGEUDO.cjs → chunk-XHZCF3AS.cjs} +13 -13
- package/dist/{chunk-PJGFU5DN.cjs → chunk-YAPPQYJH.cjs} +5 -5
- package/dist/{chunk-U44IKGG7.cjs → chunk-YG3OAHJZ.cjs} +30 -30
- package/dist/{chunk-I5CDNPPE.cjs → chunk-YTR32ZEB.cjs} +80 -49
- package/dist/{chunk-UJXISJBN.js → chunk-YU5RJQPE.js} +3 -3
- package/dist/{chunk-IWC5DM2M.cjs → chunk-ZXZ2AL2J.cjs} +14 -14
- package/dist/compiler/agent-inference.cjs +6 -6
- package/dist/compiler/agent-inference.js +2 -2
- package/dist/compiler/android-xr.cjs +6 -6
- package/dist/compiler/android-xr.js +4 -4
- package/dist/compiler/android.cjs +5 -5
- package/dist/compiler/android.js +3 -3
- package/dist/compiler/ar.cjs +5 -5
- package/dist/compiler/ar.js +3 -3
- package/dist/compiler/babylon.cjs +5 -5
- package/dist/compiler/babylon.js +4 -4
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/context.cjs +5 -5
- package/dist/compiler/context.js +2 -2
- package/dist/compiler/domain-block-utils.cjs +152 -152
- package/dist/compiler/domain-block-utils.js +3 -3
- package/dist/compiler/dtdl.cjs +6 -6
- package/dist/compiler/dtdl.js +3 -3
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +5 -5
- package/dist/compiler/godot.js +4 -4
- package/dist/compiler/incremental.cjs +7 -7
- package/dist/compiler/incremental.js +2 -2
- package/dist/compiler/index.cjs +375 -185
- package/dist/compiler/index.js +236 -57
- package/dist/compiler/ios.cjs +5 -5
- package/dist/compiler/ios.js +3 -3
- package/dist/compiler/llm-provider-capabilities.cjs +5 -5
- package/dist/compiler/llm-provider-capabilities.js +2 -2
- package/dist/compiler/multi-layer.cjs +7 -7
- package/dist/compiler/multi-layer.js +6 -6
- package/dist/compiler/openxr.cjs +5 -5
- package/dist/compiler/openxr.js +4 -4
- package/dist/compiler/playcanvas.cjs +5 -5
- package/dist/compiler/playcanvas.js +4 -4
- package/dist/compiler/r3f.cjs +10 -10
- package/dist/compiler/r3f.js +5 -5
- package/dist/compiler/sdf.cjs +6 -6
- package/dist/compiler/sdf.js +4 -4
- package/dist/compiler/state.cjs +5 -5
- package/dist/compiler/state.js +3 -3
- package/dist/compiler/trait-composition.cjs +6 -6
- package/dist/compiler/trait-composition.js +2 -2
- package/dist/compiler/unity.cjs +5 -5
- package/dist/compiler/unity.js +4 -4
- package/dist/compiler/unreal.cjs +6 -6
- package/dist/compiler/unreal.js +4 -4
- package/dist/compiler/urdf.cjs +13 -13
- package/dist/compiler/urdf.js +4 -4
- package/dist/compiler/usd-physics.cjs +6 -6
- package/dist/compiler/usd-physics.js +3 -3
- package/dist/compiler/visionos.cjs +5 -5
- package/dist/compiler/visionos.js +4 -4
- package/dist/compiler/vrchat.cjs +6 -6
- package/dist/compiler/vrchat.js +4 -4
- package/dist/compiler/vrr.cjs +6 -6
- package/dist/compiler/vrr.js +4 -4
- package/dist/compiler/wasm.cjs +9 -9
- package/dist/compiler/wasm.js +4 -4
- package/dist/compiler/webgpu.cjs +5 -5
- package/dist/compiler/webgpu.js +4 -4
- package/dist/debugger.cjs +4 -4
- package/dist/debugger.js +2 -2
- package/dist/index.cjs +570 -1940
- package/dist/index.js +86 -1456
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +14 -6
- package/dist/runtime.js +2 -2
- package/dist/traits/botanical-lotus.cjs +52 -48
- package/dist/traits/botanical-lotus.js +2 -2
- package/dist/traits/index.cjs +481 -473
- package/dist/traits/index.js +12 -8
- package/package.json +40 -40
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVFKXK4GR_cjs = require('./chunk-VFKXK4GR.cjs');
|
|
4
4
|
require('./chunk-EXUP2BUM.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-4FDL7JLJ.cjs');
|
|
6
6
|
require('./chunk-UOIGFQXC.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-H5PUZHJV.cjs');
|
|
8
8
|
require('./chunk-5S7RKFGR.cjs');
|
|
9
9
|
require('./chunk-OIQYIIO3.cjs');
|
|
10
10
|
require('./chunk-AIA52I7T.cjs');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-2VL6SJ33.cjs');
|
|
12
|
+
require('./chunk-QWAR3GY6.cjs');
|
|
13
13
|
require('./chunk-5FSKKMR7.cjs');
|
|
14
14
|
require('./chunk-GTU2Z2WW.cjs');
|
|
15
15
|
require('./chunk-ZDSYWBIE.cjs');
|
|
@@ -20,19 +20,19 @@ require('./chunk-HCCQLAA4.cjs');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "GLTFPipeline", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkVFKXK4GR_cjs.GLTFPipeline; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createGLTFPipeline", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkVFKXK4GR_cjs.createGLTFPipeline; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "generateScaleNormalMap", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkVFKXK4GR_cjs.generateScaleNormalMap; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "generateScaleTexture", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkVFKXK4GR_cjs.generateScaleTexture; }
|
|
36
36
|
});
|
|
37
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
38
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
37
|
+
//# sourceMappingURL=GLTFPipeline-PVLTKDBD.cjs.map
|
|
38
|
+
//# sourceMappingURL=GLTFPipeline-PVLTKDBD.cjs.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-K5UGRXKR.js';
|
|
2
2
|
import './chunk-EKBKLK7P.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-ULXWSPCK.js';
|
|
4
4
|
import './chunk-XT6JY5W5.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-VATGR4EM.js';
|
|
6
6
|
import './chunk-TJHVSBP2.js';
|
|
7
7
|
import './chunk-4C57PR42.js';
|
|
8
8
|
import './chunk-GZG4KA4E.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-DPZXVDGM.js';
|
|
10
|
+
import './chunk-CXS3DUKD.js';
|
|
11
11
|
import './chunk-THCK6ECW.js';
|
|
12
12
|
import './chunk-N75IH2HY.js';
|
|
13
13
|
import './chunk-MXFUTKCO.js';
|
|
14
14
|
import './chunk-VVKVQZI6.js';
|
|
15
15
|
import './chunk-OL46QLBJ.js';
|
|
16
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
17
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
16
|
+
//# sourceMappingURL=GLTFPipeline-QPI4I7DL.js.map
|
|
17
|
+
//# sourceMappingURL=GLTFPipeline-QPI4I7DL.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { HoloScriptRuntime } from './chunk-
|
|
1
|
+
export { HoloScriptRuntime } from './chunk-5BQIJG3O.js';
|
|
2
2
|
import './chunk-XL6INWKT.js';
|
|
3
3
|
import './chunk-IELX2OKI.js';
|
|
4
4
|
import './chunk-URG2SJLK.js';
|
|
@@ -6,5 +6,5 @@ import './chunk-H652NHX5.js';
|
|
|
6
6
|
import './chunk-PHENW4MQ.js';
|
|
7
7
|
import './chunk-VVKVQZI6.js';
|
|
8
8
|
import './chunk-OL46QLBJ.js';
|
|
9
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
10
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
9
|
+
//# sourceMappingURL=HoloScriptRuntime-6ZGLUCFS.js.map
|
|
10
|
+
//# sourceMappingURL=HoloScriptRuntime-6ZGLUCFS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDCE3LDO3_cjs = require('./chunk-DCE3LDO3.cjs');
|
|
4
4
|
require('./chunk-GJNCFRJU.cjs');
|
|
5
5
|
require('./chunk-YDPEHCCI.cjs');
|
|
6
6
|
require('./chunk-JIYN45TV.cjs');
|
|
@@ -13,7 +13,7 @@ require('./chunk-HCCQLAA4.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "HoloScriptRuntime", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkDCE3LDO3_cjs.HoloScriptRuntime; }
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
19
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
18
|
+
//# sourceMappingURL=HoloScriptRuntime-ALUASIL2.cjs.map
|
|
19
|
+
//# sourceMappingURL=HoloScriptRuntime-ALUASIL2.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
|
|
2
2
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
3
3
|
|
|
4
4
|
// src/compiler/AgentInferenceExportTarget.ts
|
|
@@ -975,5 +975,5 @@ function createPythonAgentInferenceCompiler(options) {
|
|
|
975
975
|
var AgentInferenceExportTarget_default = AgentInferenceCompiler;
|
|
976
976
|
|
|
977
977
|
export { AgentInferenceCompiler, AgentInferenceExportTarget_default, createAgentInferenceCompiler, createPythonAgentInferenceCompiler };
|
|
978
|
-
//# sourceMappingURL=chunk-
|
|
979
|
-
//# sourceMappingURL=chunk-
|
|
978
|
+
//# sourceMappingURL=chunk-2GQHTXOK.js.map
|
|
979
|
+
//# sourceMappingURL=chunk-2GQHTXOK.js.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var chunk5S7RKFGR_cjs = require('./chunk-5S7RKFGR.cjs');
|
|
4
4
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
5
5
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
7
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
8
8
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
9
9
|
var ans = require('@holoscript/core-types/ans');
|
|
10
10
|
|
|
@@ -18,8 +18,8 @@ var init_BabylonCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
18
18
|
"src/compiler/BabylonCompiler.ts"() {
|
|
19
19
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
20
20
|
chunk5S7RKFGR_cjs.init_ProvenanceSemiring();
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
22
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
23
23
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
24
24
|
SHAPE_TO_MESH = {
|
|
25
25
|
sphere: "CreateSphere",
|
|
@@ -36,7 +36,7 @@ var init_BabylonCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
36
36
|
capsule: "CreateCapsule",
|
|
37
37
|
disc: "CreateDisc"
|
|
38
38
|
};
|
|
39
|
-
exports.BabylonCompiler = class extends
|
|
39
|
+
exports.BabylonCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
40
40
|
constructor(options = {}) {
|
|
41
41
|
super();
|
|
42
42
|
this.compilerName = "BabylonCompiler";
|
|
@@ -138,31 +138,31 @@ var init_BabylonCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
138
138
|
this.emit("");
|
|
139
139
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
140
140
|
let blockIdx = 0;
|
|
141
|
-
const compiled =
|
|
141
|
+
const compiled = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
142
142
|
domainBlocks,
|
|
143
143
|
{
|
|
144
144
|
material: (block) => {
|
|
145
|
-
const mat =
|
|
146
|
-
return
|
|
145
|
+
const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
|
|
146
|
+
return chunk2VL6SJ33_cjs.materialToBabylon(mat, `db${blockIdx++}`);
|
|
147
147
|
},
|
|
148
148
|
physics: (block) => {
|
|
149
|
-
const phys =
|
|
150
|
-
return
|
|
149
|
+
const phys = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
|
|
150
|
+
return chunk2VL6SJ33_cjs.physicsToBabylon(phys, `db${blockIdx++}`);
|
|
151
151
|
},
|
|
152
152
|
vfx: (block) => {
|
|
153
|
-
const ps =
|
|
154
|
-
return
|
|
153
|
+
const ps = chunk2VL6SJ33_cjs.compileParticleBlock(block);
|
|
154
|
+
return chunk2VL6SJ33_cjs.particlesToBabylon(ps, `db${blockIdx++}`);
|
|
155
155
|
},
|
|
156
156
|
postfx: (block) => {
|
|
157
|
-
const pp =
|
|
158
|
-
return
|
|
157
|
+
const pp = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
|
|
158
|
+
return chunk2VL6SJ33_cjs.postProcessingToBabylon(pp);
|
|
159
159
|
},
|
|
160
160
|
audio: (block) => {
|
|
161
|
-
const audio =
|
|
162
|
-
return
|
|
161
|
+
const audio = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
|
|
162
|
+
return chunk2VL6SJ33_cjs.audioSourceToBabylon(audio, `db${blockIdx++}`);
|
|
163
163
|
},
|
|
164
164
|
weather: (block) => {
|
|
165
|
-
const weather =
|
|
165
|
+
const weather = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
|
|
166
166
|
const layers = weather.layers.map((l) => `// Layer: ${l.type} \u2014 ${JSON.stringify(l.properties)}`).join("\n");
|
|
167
167
|
return `// Weather: ${weather.keyword} "${weather.name || ""}" \u2014 implement via Babylon.js particle systems
|
|
168
168
|
${layers}`;
|
|
@@ -843,5 +843,5 @@ ${layers}`;
|
|
|
843
843
|
|
|
844
844
|
exports.BabylonCompiler_exports = BabylonCompiler_exports;
|
|
845
845
|
exports.init_BabylonCompiler = init_BabylonCompiler;
|
|
846
|
-
//# sourceMappingURL=chunk-
|
|
847
|
-
//# sourceMappingURL=chunk-
|
|
846
|
+
//# sourceMappingURL=chunk-2J5WZLF5.cjs.map
|
|
847
|
+
//# sourceMappingURL=chunk-2J5WZLF5.cjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
4
4
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
5
5
|
|
|
6
6
|
// src/compiler/DomainBlockCompilerMixin.ts
|
|
7
7
|
function esc(value, target) {
|
|
8
|
-
return
|
|
8
|
+
return chunkQWAR3GY6_cjs.escapeStringValue(value, target);
|
|
9
9
|
}
|
|
10
10
|
function isPhysicalMaterial(mat) {
|
|
11
11
|
return PHYSICAL_MATERIAL_KEYS.some((k) => mat[k] !== void 0);
|
|
@@ -3830,13 +3830,13 @@ function hexToRGBA(hex, alpha) {
|
|
|
3830
3830
|
];
|
|
3831
3831
|
}
|
|
3832
3832
|
function getRequiredCapability() {
|
|
3833
|
-
return
|
|
3833
|
+
return chunkQWAR3GY6_cjs.ANSCapabilityPath.DOMAIN_BLOCK;
|
|
3834
3834
|
}
|
|
3835
3835
|
var PHYSICAL_MATERIAL_KEYS; exports.DOMAIN_BLOCK_COMPILER_MIXIN_CAPABILITY = void 0;
|
|
3836
3836
|
var init_DomainBlockCompilerMixin = chunkHCCQLAA4_cjs.__esm({
|
|
3837
3837
|
"src/compiler/DomainBlockCompilerMixin.ts"() {
|
|
3838
|
-
|
|
3839
|
-
|
|
3838
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
3839
|
+
chunkQWAR3GY6_cjs.init_ANSNamespace();
|
|
3840
3840
|
PHYSICAL_MATERIAL_KEYS = [
|
|
3841
3841
|
"clearcoat",
|
|
3842
3842
|
"clearcoatRoughness",
|
|
@@ -4003,5 +4003,5 @@ exports.web3ToR3F = web3ToR3F;
|
|
|
4003
4003
|
exports.web3ToUSDA = web3ToUSDA;
|
|
4004
4004
|
exports.web3ToUnity = web3ToUnity;
|
|
4005
4005
|
exports.web3ToVRChat = web3ToVRChat;
|
|
4006
|
-
//# sourceMappingURL=chunk-
|
|
4007
|
-
//# sourceMappingURL=chunk-
|
|
4006
|
+
//# sourceMappingURL=chunk-2VL6SJ33.cjs.map
|
|
4007
|
+
//# sourceMappingURL=chunk-2VL6SJ33.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
5
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
@@ -15,8 +15,8 @@ var SHAPE_TO_PRIMITIVE; exports.PlayCanvasCompiler = void 0;
|
|
|
15
15
|
var init_PlayCanvasCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
16
16
|
"src/compiler/PlayCanvasCompiler.ts"() {
|
|
17
17
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
19
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
20
20
|
SHAPE_TO_PRIMITIVE = {
|
|
21
21
|
sphere: "sphere",
|
|
22
22
|
orb: "sphere",
|
|
@@ -32,7 +32,7 @@ var init_PlayCanvasCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
32
32
|
capsule: "capsule",
|
|
33
33
|
disc: "plane"
|
|
34
34
|
};
|
|
35
|
-
exports.PlayCanvasCompiler = class extends
|
|
35
|
+
exports.PlayCanvasCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
36
36
|
constructor(options = {}) {
|
|
37
37
|
super();
|
|
38
38
|
this.compilerName = "PlayCanvasCompiler";
|
|
@@ -146,33 +146,33 @@ var init_PlayCanvasCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
146
146
|
this.emit("");
|
|
147
147
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
148
148
|
let blockIdx = 0;
|
|
149
|
-
const compiled =
|
|
149
|
+
const compiled = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
150
150
|
// @ts-expect-error During migration
|
|
151
151
|
domainBlocks,
|
|
152
152
|
{
|
|
153
153
|
material: (block) => {
|
|
154
|
-
const mat =
|
|
155
|
-
return
|
|
154
|
+
const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
|
|
155
|
+
return chunk2VL6SJ33_cjs.materialToPlayCanvas(mat, `db${blockIdx++}`);
|
|
156
156
|
},
|
|
157
157
|
physics: (block) => {
|
|
158
|
-
const phys =
|
|
159
|
-
return
|
|
158
|
+
const phys = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
|
|
159
|
+
return chunk2VL6SJ33_cjs.physicsToPlayCanvas(phys, `db${blockIdx++}`);
|
|
160
160
|
},
|
|
161
161
|
vfx: (block) => {
|
|
162
|
-
const ps =
|
|
163
|
-
return
|
|
162
|
+
const ps = chunk2VL6SJ33_cjs.compileParticleBlock(block);
|
|
163
|
+
return chunk2VL6SJ33_cjs.particlesToPlayCanvas(ps, `db${blockIdx++}`);
|
|
164
164
|
},
|
|
165
165
|
postfx: (block) => {
|
|
166
|
-
const pp =
|
|
166
|
+
const pp = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
|
|
167
167
|
return `// Post-Processing: ${pp.keyword} \u2014 configure via PlayCanvas PostEffects
|
|
168
168
|
` + pp.effects.map((e) => `// Effect: ${e.type} \u2014 ${JSON.stringify(e.properties)}`).join("\n");
|
|
169
169
|
},
|
|
170
170
|
audio: (block) => {
|
|
171
|
-
const audio =
|
|
172
|
-
return
|
|
171
|
+
const audio = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
|
|
172
|
+
return chunk2VL6SJ33_cjs.audioSourceToPlayCanvas(audio, `db${blockIdx++}`);
|
|
173
173
|
},
|
|
174
174
|
weather: (block) => {
|
|
175
|
-
const weather =
|
|
175
|
+
const weather = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
|
|
176
176
|
return `// Weather: ${weather.keyword} "${weather.name || ""}" \u2014 implement via PlayCanvas particle system
|
|
177
177
|
` + weather.layers.map((l) => `// Layer: ${l.type} \u2014 ${JSON.stringify(l.properties)}`).join("\n");
|
|
178
178
|
}
|
|
@@ -755,5 +755,5 @@ var init_PlayCanvasCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
755
755
|
|
|
756
756
|
exports.PlayCanvasCompiler_exports = PlayCanvasCompiler_exports;
|
|
757
757
|
exports.init_PlayCanvasCompiler = init_PlayCanvasCompiler;
|
|
758
|
-
//# sourceMappingURL=chunk-
|
|
759
|
-
//# sourceMappingURL=chunk-
|
|
758
|
+
//# sourceMappingURL=chunk-3B5NVDHJ.cjs.map
|
|
759
|
+
//# sourceMappingURL=chunk-3B5NVDHJ.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { init_ProvenanceSemiring, ProvenanceSemiring } from './chunk-TJHVSBP2.js';
|
|
2
2
|
import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
|
|
3
3
|
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GZG4KA4E.js';
|
|
4
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToBabylon, compilePostProcessingBlock, postProcessingToBabylon, compileParticleBlock, particlesToBabylon, compilePhysicsBlock, physicsToBabylon, compileMaterialBlock, materialToBabylon } from './chunk-
|
|
5
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
4
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToBabylon, compilePostProcessingBlock, postProcessingToBabylon, compileParticleBlock, particlesToBabylon, compilePhysicsBlock, physicsToBabylon, compileMaterialBlock, materialToBabylon } from './chunk-DPZXVDGM.js';
|
|
5
|
+
import { init_CompilerBase, CompilerBase } from './chunk-CXS3DUKD.js';
|
|
6
6
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
7
7
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
8
8
|
|
|
@@ -840,5 +840,5 @@ ${layers}`;
|
|
|
840
840
|
});
|
|
841
841
|
|
|
842
842
|
export { BabylonCompiler, BabylonCompiler_exports, init_BabylonCompiler };
|
|
843
|
-
//# sourceMappingURL=chunk-
|
|
844
|
-
//# sourceMappingURL=chunk-
|
|
843
|
+
//# sourceMappingURL=chunk-3B7AY37W.js.map
|
|
844
|
+
//# sourceMappingURL=chunk-3B7AY37W.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPVWNU4QT_cjs = require('./chunk-PVWNU4QT.cjs');
|
|
4
4
|
|
|
5
5
|
// src/reconstruction/FusedAttentionKernel.ts
|
|
6
6
|
var FUSED_ATTENTION_WGSL = `
|
|
@@ -585,9 +585,9 @@ function mobileSensorBundleToFrames(bundle) {
|
|
|
585
585
|
}
|
|
586
586
|
async function replayMobileSensorBundle(bundle, config = {}) {
|
|
587
587
|
const frames = mobileSensorBundleToFrames(bundle);
|
|
588
|
-
const runtime =
|
|
588
|
+
const runtime = chunkPVWNU4QT_cjs.createHoloMapRuntime();
|
|
589
589
|
await runtime.init({
|
|
590
|
-
...
|
|
590
|
+
...chunkPVWNU4QT_cjs.HOLOMAP_DEFAULTS,
|
|
591
591
|
seed: 0,
|
|
592
592
|
modelHash: bundle.bundleId,
|
|
593
593
|
videoHash: bundle.bundleId,
|
|
@@ -635,5 +635,5 @@ exports.mergeAnchoredProvenance = mergeAnchoredProvenance;
|
|
|
635
635
|
exports.mobileSensorBundleToFrames = mobileSensorBundleToFrames;
|
|
636
636
|
exports.replayMobileSensorBundle = replayMobileSensorBundle;
|
|
637
637
|
exports.validateMobileSensorBundle = validateMobileSensorBundle;
|
|
638
|
-
//# sourceMappingURL=chunk-
|
|
639
|
-
//# sourceMappingURL=chunk-
|
|
638
|
+
//# sourceMappingURL=chunk-3OIZJNVT.cjs.map
|
|
639
|
+
//# sourceMappingURL=chunk-3OIZJNVT.cjs.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkFEWUHQNM_cjs = require('./chunk-FEWUHQNM.cjs');
|
|
4
4
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
6
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
7
7
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
8
8
|
var ans = require('@holoscript/core-types/ans');
|
|
9
9
|
|
|
@@ -4976,36 +4976,36 @@ function compileAndroidXRDomainBlocks(compiler, composition) {
|
|
|
4976
4976
|
compiler.emit("");
|
|
4977
4977
|
compiler.emit("// === v4.2 Domain Blocks ===");
|
|
4978
4978
|
let blockIdx = 0;
|
|
4979
|
-
const compiled =
|
|
4979
|
+
const compiled = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
4980
4980
|
// @ts-expect-error During migration
|
|
4981
4981
|
domainBlocks,
|
|
4982
4982
|
{
|
|
4983
4983
|
material: (block) => {
|
|
4984
|
-
const mat =
|
|
4985
|
-
return
|
|
4984
|
+
const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
|
|
4985
|
+
return chunk2VL6SJ33_cjs.materialToAndroidXR(mat, `db${blockIdx++}`);
|
|
4986
4986
|
},
|
|
4987
4987
|
physics: (block) => {
|
|
4988
|
-
const phys =
|
|
4989
|
-
return
|
|
4988
|
+
const phys = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
|
|
4989
|
+
return chunk2VL6SJ33_cjs.physicsToAndroidXR(phys, `db${blockIdx++}`);
|
|
4990
4990
|
},
|
|
4991
4991
|
vfx: (block) => {
|
|
4992
|
-
const ps =
|
|
4993
|
-
return
|
|
4992
|
+
const ps = chunk2VL6SJ33_cjs.compileParticleBlock(block);
|
|
4993
|
+
return chunk2VL6SJ33_cjs.particlesToAndroidXR(ps, `db${blockIdx++}`);
|
|
4994
4994
|
},
|
|
4995
4995
|
postfx: (block) => {
|
|
4996
|
-
const pp =
|
|
4996
|
+
const pp = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
|
|
4997
4997
|
const postfx = pp;
|
|
4998
4998
|
const effects = postfx.effects.map((e) => `// Effect: ${e.type} \u2014 ${JSON.stringify(e.properties)}`).join("\n");
|
|
4999
4999
|
return `// Post-Processing: ${postfx.keyword} \u2014 configure via Filament Renderer post-processing
|
|
5000
5000
|
${effects}`;
|
|
5001
5001
|
},
|
|
5002
5002
|
audio: (block) => {
|
|
5003
|
-
const audio =
|
|
5004
|
-
return
|
|
5003
|
+
const audio = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
|
|
5004
|
+
return chunk2VL6SJ33_cjs.audioSourceToAndroidXR(audio, `db${blockIdx++}`);
|
|
5005
5005
|
},
|
|
5006
5006
|
weather: (block) => {
|
|
5007
|
-
const weather =
|
|
5008
|
-
return
|
|
5007
|
+
const weather = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
|
|
5008
|
+
return chunk2VL6SJ33_cjs.weatherToAndroidXR(weather);
|
|
5009
5009
|
}
|
|
5010
5010
|
},
|
|
5011
5011
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${compiler.escapeStringValue(block.name, "Kotlin")}"`
|
|
@@ -5032,7 +5032,7 @@ function emitTransition(compiler, tr) {
|
|
|
5032
5032
|
}
|
|
5033
5033
|
var init_AndroidXRGenerators = chunkHCCQLAA4_cjs.__esm({
|
|
5034
5034
|
"src/compiler/AndroidXRGenerators.ts"() {
|
|
5035
|
-
|
|
5035
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
5036
5036
|
init_AndroidXRTraitMap();
|
|
5037
5037
|
}
|
|
5038
5038
|
});
|
|
@@ -5632,12 +5632,12 @@ function compileToAndroidXR(composition, options) {
|
|
|
5632
5632
|
exports.AndroidXRCompiler = void 0;
|
|
5633
5633
|
var init_AndroidXRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
5634
5634
|
"src/compiler/AndroidXRCompiler.ts"() {
|
|
5635
|
-
|
|
5635
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
5636
5636
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
5637
5637
|
chunkFEWUHQNM_cjs.init_AndroidKotlinHelpers();
|
|
5638
5638
|
init_AndroidXRGenerators();
|
|
5639
5639
|
init_AndroidXRGlassesGenerators();
|
|
5640
|
-
exports.AndroidXRCompiler = class extends
|
|
5640
|
+
exports.AndroidXRCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
5641
5641
|
constructor(options = {}) {
|
|
5642
5642
|
super();
|
|
5643
5643
|
this.compilerName = "AndroidXRCompiler";
|
|
@@ -5733,5 +5733,5 @@ exports.compileToAndroidXR = compileToAndroidXR;
|
|
|
5733
5733
|
exports.getTraitMapping = getTraitMapping;
|
|
5734
5734
|
exports.init_AndroidXRCompiler = init_AndroidXRCompiler;
|
|
5735
5735
|
exports.init_AndroidXRTraitMap = init_AndroidXRTraitMap;
|
|
5736
|
-
//# sourceMappingURL=chunk-
|
|
5737
|
-
//# sourceMappingURL=chunk-
|
|
5736
|
+
//# sourceMappingURL=chunk-3SBVODUP.cjs.map
|
|
5737
|
+
//# sourceMappingURL=chunk-3SBVODUP.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunk2VL6SJ33_cjs = require('./chunk-2VL6SJ33.cjs');
|
|
5
|
+
var chunkQWAR3GY6_cjs = require('./chunk-QWAR3GY6.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
@@ -1699,10 +1699,10 @@ exports.VisionOSCompiler = void 0;
|
|
|
1699
1699
|
var init_VisionOSCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
1700
1700
|
"src/compiler/VisionOSCompiler.ts"() {
|
|
1701
1701
|
init_VisionOSTraitMap();
|
|
1702
|
-
|
|
1702
|
+
chunkQWAR3GY6_cjs.init_CompilerBase();
|
|
1703
1703
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
1704
|
-
|
|
1705
|
-
exports.VisionOSCompiler = class extends
|
|
1704
|
+
chunk2VL6SJ33_cjs.init_DomainBlockCompilerMixin();
|
|
1705
|
+
exports.VisionOSCompiler = class extends chunkQWAR3GY6_cjs.CompilerBase {
|
|
1706
1706
|
constructor(options = {}) {
|
|
1707
1707
|
super();
|
|
1708
1708
|
this.compilerName = "VisionOSCompiler";
|
|
@@ -1840,31 +1840,31 @@ var init_VisionOSCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
1840
1840
|
this.emit("");
|
|
1841
1841
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
1842
1842
|
let blockIdx = 0;
|
|
1843
|
-
const compiled =
|
|
1843
|
+
const compiled = chunk2VL6SJ33_cjs.compileDomainBlocks(
|
|
1844
1844
|
domainBlocks,
|
|
1845
1845
|
{
|
|
1846
1846
|
material: (block) => {
|
|
1847
|
-
const mat =
|
|
1848
|
-
return
|
|
1847
|
+
const mat = chunk2VL6SJ33_cjs.compileMaterialBlock(block);
|
|
1848
|
+
return chunk2VL6SJ33_cjs.materialToVisionOS(mat, `db${blockIdx++}`);
|
|
1849
1849
|
},
|
|
1850
1850
|
physics: (block) => {
|
|
1851
|
-
const phys =
|
|
1852
|
-
return
|
|
1851
|
+
const phys = chunk2VL6SJ33_cjs.compilePhysicsBlock(block);
|
|
1852
|
+
return chunk2VL6SJ33_cjs.physicsToVisionOS(phys, `db${blockIdx++}`);
|
|
1853
1853
|
},
|
|
1854
1854
|
vfx: (block) => {
|
|
1855
|
-
const ps =
|
|
1856
|
-
return
|
|
1855
|
+
const ps = chunk2VL6SJ33_cjs.compileParticleBlock(block);
|
|
1856
|
+
return chunk2VL6SJ33_cjs.particlesToVisionOS(ps, `db${blockIdx++}`);
|
|
1857
1857
|
},
|
|
1858
1858
|
postfx: (block) => {
|
|
1859
|
-
const pp =
|
|
1859
|
+
const pp = chunk2VL6SJ33_cjs.compilePostProcessingBlock(block);
|
|
1860
1860
|
return `// Post-Processing: ${pp.keyword} \u2014 configure via RealityKit RenderCallbacks`;
|
|
1861
1861
|
},
|
|
1862
1862
|
audio: (block) => {
|
|
1863
|
-
const audio =
|
|
1864
|
-
return
|
|
1863
|
+
const audio = chunk2VL6SJ33_cjs.compileAudioSourceBlock(block);
|
|
1864
|
+
return chunk2VL6SJ33_cjs.audioSourceToVisionOS(audio, `db${blockIdx++}`);
|
|
1865
1865
|
},
|
|
1866
1866
|
weather: (block) => {
|
|
1867
|
-
const weather =
|
|
1867
|
+
const weather = chunk2VL6SJ33_cjs.compileWeatherBlock(block);
|
|
1868
1868
|
const w = weather;
|
|
1869
1869
|
const layers = w.layers.map((l) => `// Layer: ${l.type} \u2014 ${JSON.stringify(l.properties)}`).join("\n");
|
|
1870
1870
|
return `// Weather: ${w.keyword} "${w.name || ""}" \u2014 implement via custom RealityKit particles
|
|
@@ -2429,5 +2429,5 @@ exports.getTraitMapping = getTraitMapping;
|
|
|
2429
2429
|
exports.init_VisionOSCompiler = init_VisionOSCompiler;
|
|
2430
2430
|
exports.init_VisionOSTraitMap = init_VisionOSTraitMap;
|
|
2431
2431
|
exports.listAllTraits = listAllTraits;
|
|
2432
|
-
//# sourceMappingURL=chunk-
|
|
2433
|
-
//# sourceMappingURL=chunk-
|
|
2432
|
+
//# sourceMappingURL=chunk-44GM3P4G.cjs.map
|
|
2433
|
+
//# sourceMappingURL=chunk-44GM3P4G.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HoloScriptRuntime } from './chunk-
|
|
1
|
+
import { HoloScriptRuntime } from './chunk-5BQIJG3O.js';
|
|
2
2
|
import { HoloScriptCodeParser } from './chunk-URG2SJLK.js';
|
|
3
3
|
|
|
4
4
|
// src/HoloScriptDebugger.ts
|
|
@@ -417,5 +417,5 @@ function createDebugger(runtime) {
|
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
export { HoloScriptDebugger, createDebugger };
|
|
420
|
-
//# sourceMappingURL=chunk-
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-4DO425P5.js.map
|
|
421
|
+
//# sourceMappingURL=chunk-4DO425P5.js.map
|