auto-git:

[change] src/runtime-three/runtime-scene-build.ts
This commit is contained in:
2026-04-22 13:58:15 +02:00
parent ffdd1fa615
commit 5b5333f842

View File

@@ -41,6 +41,7 @@ import {
type Brush,
type BrushGeometry,
type BrushKind,
type BoxBrushLightFalloffMode,
type BoxBrushVolumeSettings,
type WhiteboxFaceId,
type FaceUvState
@@ -116,6 +117,10 @@ import {
type RuntimeProjectSchedulerState,
type RuntimeResolvedProjectScheduleState
} from "./runtime-project-scheduler";
import {
deriveBoxLightVolumePointLights,
type DerivedLightVolumePointLight
} from "./light-volume-utils";
import { assertRuntimeSceneBuildable } from "./runtime-scene-validation";
import type { RuntimeClockState } from "./runtime-project-time";
import {
@@ -166,9 +171,23 @@ export interface RuntimeWaterVolume {
waveStrength: number;
}
export interface RuntimeLightVolume {
brushId: string;
enabled: boolean;
center: Vec3;
rotationDegrees: Vec3;
size: Vec3;
colorHex: string;
intensity: number;
padding: number;
falloff: BoxBrushLightFalloffMode;
lights: DerivedLightVolumePointLight[];
}
export interface RuntimeBoxVolumeCollection {
fog: RuntimeFogVolume[];
water: RuntimeWaterVolume[];
light: RuntimeLightVolume[];
}
export interface RuntimeTerrain {