update: add runtine camera keyframe

This commit is contained in:
Tom Boullay
2026-05-11 11:13:49 +02:00
parent f74a0c5eae
commit 4218fde63a
8 changed files with 273 additions and 5 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { Vector3Tuple } from "@/types/three/three";
export interface CinematicCameraKeyframe {
time: number;
position: Vector3Tuple;
target: Vector3Tuple;
}
export interface CinematicDefinition {
id: string;
timecode?: number;
cameraKeyframes: CinematicCameraKeyframe[];
}
export interface CinematicManifest {
version: 1;
cinematics: CinematicDefinition[];
}