mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-07 11:03:19 +01:00
fix(editor): the heights from point to point broke the grade only at the bends of straights which stay bends, a curve traced or bends clicked close along a curve going at one grade from one of its ends to the other, attached there; and two tracks laid no longer meet at two heights where a point was clicked within 5 m of their joint, each end of a piece not cut there taking the height of its own stretch, not of the one the middle of the piece lies on (steps of 0.6 m on a steep grade in abc). Unit tests of the heights from point to point
This commit is contained in:
@@ -17,6 +17,9 @@ add_executable(${UNIT_TESTS_NAME}
|
||||
editor_stubs.cpp
|
||||
# the geometry of the lines the track editor designs, standing on its own
|
||||
"${CMAKE_SOURCE_DIR}/editor/editorAlignment.cpp"
|
||||
# and the heights of the tracks laid
|
||||
"${CMAKE_SOURCE_DIR}/editor/editorGroundFollow.cpp"
|
||||
"${CMAKE_SOURCE_DIR}/editor/editorProfile.cpp"
|
||||
${UNIT_TEST_CASES})
|
||||
|
||||
# the core library brings the game's build settings along
|
||||
|
||||
Reference in New Issue
Block a user