auto-git:

[change] src/runtime-three/runtime-scene-build.ts
This commit is contained in:
2026-05-12 23:53:46 +02:00
parent b4f0a89ce0
commit fa9789affd

View File

@@ -62,6 +62,7 @@ import {
resolveScenePath,
type ScenePath,
type ScenePathCurveMode,
type ScenePathRoadSettings,
type ScenePathPoint
} from "../document/paths";
import {
@@ -513,6 +514,7 @@ export interface RuntimePath {
sampledResolution: number;
glueToTerrain: boolean;
terrainOffset: number;
road: ScenePathRoadSettings;
points: RuntimePathPoint[];
segments: RuntimePathSegment[];
totalLength: number;
@@ -1013,6 +1015,7 @@ function buildRuntimePath(
sampledResolution: resolvedPath.sampledResolution,
glueToTerrain: resolvedPath.glueToTerrain,
terrainOffset: resolvedPath.terrainOffset,
road: { ...path.road },
points: resolvedPath.points.map(buildRuntimePathPoint),
segments: resolvedPath.segments.map((segment) => ({
index: segment.index,