feat(junction): Add command tests and serialization support for spline corridor junctions

This commit is contained in:
2026-05-13 13:35:05 +02:00
parent bd6e1d4e80
commit 90c00febad
2 changed files with 130 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ import {
SCENE_DOCUMENT_VERSION,
SHADER_SKY_HORIZON_HEIGHT_SCENE_DOCUMENT_VERSION,
SHADER_SKY_SCENE_DOCUMENT_VERSION,
SPLINE_CORRIDOR_JUNCTIONS_SCENE_DOCUMENT_VERSION,
SPLINE_CORRIDOR_COLLISION_SCENE_DOCUMENT_VERSION,
SPLINE_REPEATERS_SCENE_DOCUMENT_VERSION,
SPLINE_ROAD_EDGES_SCENE_DOCUMENT_VERSION,
@@ -123,6 +124,7 @@ import {
} from "../../src/serialization/scene-document-json";
import { BUNDLED_FOLIAGE_PROTOTYPES } from "../../src/foliage/bundled-foliage-manifest";
import { createFoliageLayer } from "../../src/foliage/foliage";
import { createSplineCorridorJunction } from "../../src/document/spline-corridor-junctions";
describe("scene document JSON", () => {
it("round-trips the current empty schema", () => {