auto-git:

[change] src/viewport-three/viewport-host.ts
This commit is contained in:
2026-04-23 09:00:40 +02:00
parent ff15beeef8
commit 6e751186d3

View File

@@ -97,7 +97,11 @@ import {
type ModelInstance
} from "../assets/model-instances";
import type { SceneDocument } from "../document/scene-document";
import { getScenePaths, type ScenePath } from "../document/paths";
import {
getScenePaths,
sampleScenePathPosition,
type ScenePath
} from "../document/paths";
import {
areTerrainsEqual,
cloneTerrain,
@@ -443,6 +447,16 @@ interface EntityRenderObjects {
dispose?: () => void;
}
interface CameraRigPreviewRenderObjects {
previewGroup: Group;
trackLine: Line<BufferGeometry, LineBasicMaterial>;
trackStartMesh: Mesh<SphereGeometry, MeshBasicMaterial>;
trackEndMesh: Mesh<SphereGeometry, MeshBasicMaterial>;
railSpanLine: Line<BufferGeometry, LineBasicMaterial>;
railStartMesh: Mesh<SphereGeometry, MeshBasicMaterial>;
railEndMesh: Mesh<SphereGeometry, MeshBasicMaterial>;
}
interface LocalLightRenderObjects {
group: Group;
light: PointLight | SpotLight;