Commit Graph

5596 Commits

Author SHA1 Message Date
ad252c7d71 Add state and handlers for terrain grid resizing in ViewportHost 2026-05-13 14:25:13 +02:00
64d058566c Add terrain grid resize visualization components 2026-05-13 14:24:50 +02:00
685a3e46d9 Add handler for terrain grid resize commits in ViewportPanel 2026-05-13 14:24:34 +02:00
81693069e6 Implement terrain grid resize commit handling in ViewportCanvas 2026-05-13 14:24:34 +02:00
00a5ec76ff Implement and refine terrain grid resize drag handling across pointer events 2026-05-13 14:23:23 +02:00
c3466517d9 Prioritize active terrain grid resize preview when retrieving terrain by ID 2026-05-13 14:23:23 +02:00
93cd4da396 Initialize and sync terrain grid resize state in ViewportHost 2026-05-13 14:22:08 +02:00
402754433d auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:21:01 +02:00
88c1e9f7a0 Add setter for terrain grid resize commit handler 2026-05-13 14:21:01 +02:00
b21614864f Dispose terrain grid resize components on cleanup 2026-05-13 14:21:01 +02:00
f88905eeaa auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:20:46 +02:00
79e7a1968b auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:20:46 +02:00
7e0e78b511 auto-git:
[add] tests/unit/terrain-grid-resize-controls.test.ts
2026-05-13 14:20:46 +02:00
4d7694e1f5 auto-git:
[add] src/viewport-three/terrain-grid-resize-controls.ts
2026-05-13 14:20:46 +02:00
c1270a9842 Improve formatting and readability in terrain calculation functions 2026-05-13 14:14:16 +02:00
2aae3dff27 feat(tests): Add comprehensive test coverage for terrain resizing logic 2026-05-13 14:13:04 +02:00
f96cd18ecc Implement directional control for terrain resizing (X and Z axes) 2026-05-13 14:12:07 +02:00
3e2808f18a Support terrain grid resize directions for terrain manipulation functions 2026-05-13 14:11:21 +02:00
215569cf96 Refactor terrain resampling to calculate source coordinates based on target position 2026-05-13 14:10:25 +02:00
419e125ca0 Add types, constants, and normalization functions for terrain grid resize directions 2026-05-13 14:09:52 +02:00
d702cdfdf9 Refactor App component and update terrain-related tests 2026-05-13 13:59:25 +02:00
6f64954ee0 auto-git:
[change] src/app/App.tsx
 [change] tests/domain/terrains.test.ts
 [change] tests/unit/terrain-foundation.integration.test.tsx
2026-05-13 13:59:02 +02:00
17f64bd424 Refactor: Improve code readability and formatting across terrain utility functions 2026-05-13 13:58:16 +02:00
511286307d Fix expected sampleCountZ value in terrain foundation integration test 2026-05-13 13:57:08 +02:00
cafc90e5db auto-git:
[change] tests/domain/terrains.test.ts
2026-05-13 13:55:33 +02:00
b72aefe2fa Update terrain grid commitment logic and refine UI descriptions for grid settings 2026-05-13 13:54:59 +02:00
35b8b1d2db Refactor terrain resampling to use local position sampling based on cell size 2026-05-13 13:54:39 +02:00
75e37d7201 Update left edge properties in spline road mesh test 2026-05-13 13:40:11 +02:00
f0e755c597 Test: Verify spline corridor junctions and clip intervals are correctly included in runtime scene builds 2026-05-13 13:38:43 +02:00
14d6ad8e54 Add test case for applying spline corridor junction terrain footprints 2026-05-13 13:38:14 +02:00
7169b4562e Import spline corridor junction creation utility for testing 2026-05-13 13:38:14 +02:00
ae6c7a364a Remove validation checks for junction connection errors 2026-05-13 13:38:14 +02:00
6b552b35ad auto-git:
[change] tests/domain/scene-document-validation.test.ts
2026-05-13 13:36:58 +02:00
97ce4f2579 auto-git:
[change] tests/domain/scene-document-validation.test.ts
2026-05-13 13:36:58 +02:00
4f6d42fffb auto-git:
[change] tests/serialization/scene-document-json.test.ts
2026-05-13 13:36:58 +02:00
08a78a6d72 test(serialization): Add migration and round-trip tests for spline corridor junctions 2026-05-13 13:35:50 +02:00
90c00febad feat(junction): Add command tests and serialization support for spline corridor junctions 2026-05-13 13:35:49 +02:00
bd6e1d4e80 Test: Skip repeater instances inside junction clip intervals 2026-05-13 13:35:04 +02:00
e1b5fe0a7f Add tests for clipping and splitting road mesh around junction intervals 2026-05-13 13:34:29 +02:00
1b4c6f2928 Add comprehensive tests for spline corridor junction detection and resolution 2026-05-13 13:34:29 +02:00
6c796b336b Add spline corridor junctions to local draft storage test fixture 2026-05-13 13:33:09 +02:00
5682d113e0 Update runtime scene fixture with spline corridor junction data 2026-05-13 13:33:09 +02:00
2b8367120a Type safety: Use ReadonlyArray for points in junction mesh path 2026-05-13 13:33:09 +02:00
9086d29eda Pass clip intervals to road mesh generation 2026-05-13 13:31:48 +02:00
a12ffbec29 auto-git:
[change] src/spline-corridor/spline-repeaters.ts
2026-05-13 13:31:33 +02:00
41ccb3f8a8 Implement geometry generation for spline corridor junctions 2026-05-13 13:31:03 +02:00
6c641dec57 Remove unnecessary type casting for junction terrain mode 2026-05-13 13:29:45 +02:00
f52235b6b9 Clean up unused imports related to spline corridor junctions 2026-05-13 13:29:45 +02:00
c20e4d966c Remove redundant calculation of spline corridor junction list 2026-05-13 13:29:45 +02:00
8ba60119ec Add styles for compact cards, stacked lists, and component elements 2026-05-13 13:28:13 +02:00