Add state comparison utilities and update loop tracing functions
This commit is contained in:
@@ -327,6 +327,7 @@ import {
|
|||||||
DEFAULT_SPOT_LIGHT_INTENSITY,
|
DEFAULT_SPOT_LIGHT_INTENSITY,
|
||||||
DEFAULT_TRIGGER_VOLUME_SIZE,
|
DEFAULT_TRIGGER_VOLUME_SIZE,
|
||||||
areEntityInstancesEqual,
|
areEntityInstancesEqual,
|
||||||
|
arePlayerStartMovementTemplatesEqual,
|
||||||
createCameraRigActorTargetRef,
|
createCameraRigActorTargetRef,
|
||||||
createCameraRigEntity,
|
createCameraRigEntity,
|
||||||
createCameraRigEntityTargetRef,
|
createCameraRigEntityTargetRef,
|
||||||
@@ -501,6 +502,7 @@ import {
|
|||||||
} from "../viewport-three/viewport-view-modes";
|
} from "../viewport-three/viewport-view-modes";
|
||||||
import {
|
import {
|
||||||
VIEWPORT_PANEL_IDS,
|
VIEWPORT_PANEL_IDS,
|
||||||
|
areViewportPanelCameraStatesEqual,
|
||||||
getViewportDisplayModeLabel,
|
getViewportDisplayModeLabel,
|
||||||
getViewportLayoutModeLabel,
|
getViewportLayoutModeLabel,
|
||||||
getViewportPanelLabel,
|
getViewportPanelLabel,
|
||||||
@@ -509,6 +511,11 @@ import {
|
|||||||
type ViewportPanelId,
|
type ViewportPanelId,
|
||||||
type ViewportQuadSplit
|
type ViewportQuadSplit
|
||||||
} from "../viewport-three/viewport-layout";
|
} from "../viewport-three/viewport-layout";
|
||||||
|
import {
|
||||||
|
summarizeUpdateLoopCameraState,
|
||||||
|
summarizeUpdateLoopCameraStateDeltas,
|
||||||
|
traceUpdateLoopEvent
|
||||||
|
} from "../debug/update-loop-trace";
|
||||||
import type { EditorStore } from "./editor-store";
|
import type { EditorStore } from "./editor-store";
|
||||||
import { useEditorStoreState } from "./use-editor-store";
|
import { useEditorStoreState } from "./use-editor-store";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user