Skip to content

Commit

Permalink
deploy: c1913ce
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLongmuir committed Nov 22, 2024
1 parent 5f00749 commit 5bf7bc9
Show file tree
Hide file tree
Showing 11 changed files with 114 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
calculateContentBounds,
envMaps,
parseXYZ
} from "./chunk-7VJKS26C.js";
} from "./chunk-47AAFC7E.js";
import {
Audio as Audio2,
AudioGraphics,
Expand Down Expand Up @@ -55,8 +55,9 @@ import {
cameraPositionField,
environmentMapField,
getRelativePositionAndRotationRelativeToObject,
parseColorAttribute
} from "./chunk-5LQ2TQWT.js";
parseColorAttribute,
setDebugGlobals
} from "./chunk-6SSQCGZS.js";

// ../../node_modules/playcanvas/build/playcanvas/src/core/constants.js
var TRACEID_GPU_TIMINGS = "GpuTimings";
Expand Down Expand Up @@ -56725,7 +56726,7 @@ var PlayCanvasInteractionAdapter = class _PlayCanvasInteractionAdapter {
}
};

// ../../node_modules/@mml-io/mml-web-playcanvas-client/build/index.js
// ../../node_modules/@mml-io/mml-web-playcanvas-standalone/build/index.js
var up2 = { x: 0, y: 1, z: 0 };
var right = { x: 1, y: 0, z: 0 };
var quaternion = new Quat();
Expand Down Expand Up @@ -57315,6 +57316,10 @@ var PlayCanvasModeInternal = class {
windowTarget: this.windowTarget,
targetForWrappers: this.targetForWrappers
});
setDebugGlobals({
mmlScene: fullScreenMMLScene,
remoteDocumentWrapper: mmlNetworkSource.remoteDocumentWrapper
});
const loadingCallback = () => {
const [, completedLoading] = fullScreenMMLScene.getLoadingProgressManager().toRatio();
if (completedLoading) {
Expand Down Expand Up @@ -57486,4 +57491,4 @@ var PlayCanvasModeInternal = class {
export {
PlayCanvasModeInternal
};
//# sourceMappingURL=PlayCanvasModeInternal-E3P6HAB2.js.map
//# sourceMappingURL=PlayCanvasModeInternal-CW2XLO3N.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
calculateContentBounds,
envMaps,
parseXYZ
} from "./chunk-7VJKS26C.js";
} from "./chunk-47AAFC7E.js";
import {
Audio,
AudioGraphics,
Expand Down Expand Up @@ -56,8 +56,9 @@ import {
environmentMapField,
getRelativePositionAndRotationRelativeToObject,
parseColorAttribute,
radToDeg
} from "./chunk-5LQ2TQWT.js";
radToDeg,
setDebugGlobals
} from "./chunk-6SSQCGZS.js";

// ../../node_modules/three/build/three.module.js
var REVISION = "163";
Expand Down Expand Up @@ -29891,7 +29892,7 @@ var _ModelLoader = class _ModelLoader2 {
_ModelLoader.dracoLoader = null;
var ModelLoader = _ModelLoader;

// ../../node_modules/@mml-io/mml-web-three/build/index.js
// ../../node_modules/@mml-io/mml-web-threejs/build/index.js
var debugAudioSphereSize = 0.25;
var debugAudioGeometry = new SphereGeometry(debugAudioSphereSize, 4, 2);
var debugAudioMaterial = new MeshBasicMaterial({
Expand Down Expand Up @@ -32370,7 +32371,7 @@ _ThreeJSInteractionAdapter.intersections = new Array();
_ThreeJSInteractionAdapter.direction = new Vector3();
var ThreeJSInteractionAdapter = _ThreeJSInteractionAdapter;

// ../../node_modules/@mml-io/mml-web-three-client/build/index.js
// ../../node_modules/@mml-io/mml-web-threejs-standalone/build/index.js
var up = { x: 0, y: 1, z: 0 };
var right = { x: 1, y: 0, z: 0 };
var quaternion = new Quat();
Expand Down Expand Up @@ -33777,7 +33778,7 @@ var ThreeJSModeInternal = class {
}
fullScreenMMLScene.init(graphicsAdapter);
const statusUI = new StatusUI();
const networkMMLSource = MMLNetworkSource.create({
const mmlNetworkSource = MMLNetworkSource.create({
mmlScene: fullScreenMMLScene,
statusUpdated: (status) => {
if (status === NetworkedDOMWebsocketStatus.Connected) {
Expand All @@ -33790,6 +33791,10 @@ var ThreeJSModeInternal = class {
windowTarget: this.windowTarget,
targetForWrappers: this.targetForWrappers
});
setDebugGlobals({
mmlScene: fullScreenMMLScene,
remoteDocumentWrapper: mmlNetworkSource.remoteDocumentWrapper
});
const loadingCallback = () => {
const [, completedLoading] = fullScreenMMLScene.getLoadingProgressManager().toRatio();
if (completedLoading) {
Expand All @@ -33802,7 +33807,7 @@ var ThreeJSModeInternal = class {
};
fullScreenMMLScene.getLoadingProgressManager().addProgressCallback(loadingCallback);
this.loadedState = {
networkMMLSource,
mmlNetworkSource,
graphicsAdapter,
fullScreenMMLScene,
statusUI
Expand Down Expand Up @@ -33897,7 +33902,7 @@ var ThreeJSModeInternal = class {
dispose() {
this.disposed = true;
if (this.loadedState) {
this.loadedState.networkMMLSource.dispose();
this.loadedState.mmlNetworkSource.dispose();
this.loadedState.graphicsAdapter.dispose();
this.loadedState.fullScreenMMLScene.dispose();
this.loadedState.statusUI.dispose();
Expand Down Expand Up @@ -33976,4 +33981,4 @@ three/examples/jsm/libs/fflate.module.js:
version 0.8.2
*)
*/
//# sourceMappingURL=ThreeJSModeInternal-N2SNQ4TU.js.map
//# sourceMappingURL=ThreeJSModeInternal-JKTCJAJ5.js.map

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
7 changes: 0 additions & 7 deletions pull/205/v1/chunk-5LQ2TQWT.js.map

This file was deleted.

Loading

0 comments on commit 5bf7bc9

Please sign in to comment.