17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-03 09:40:22 +01:00

refactor(track): the rail code is split by concern into gauge lines, crossings and check rails, rail materials, rail profile measuring, planning the cuts and laying the geometry, instead of one TrackRails.cpp; rail_offset reuses nearest_distance and lateral; TTrack::rail_dimensions measures the profile through track_rails::measure_rail

This commit is contained in:
maj00r
2026-10-14 09:24:52 +02:00
parent 0138635358
commit 278fb88bb3
11 changed files with 2554 additions and 2455 deletions

View File

@@ -95,7 +95,12 @@ set(SOURCES
"model/Texture.cpp"
"utilities/Timer.cpp"
"world/Track.cpp"
"world/TrackRails.cpp"
"world/GaugeLine.cpp"
"world/RailCrossings.cpp"
"world/RailMaterials.cpp"
"world/RailProfile.cpp"
"world/RailPlan.cpp"
"world/RailLayer.cpp"
"world/Road.cpp"
"world/Sweep.cpp"
"world/RoadPoint.cpp"
@@ -699,4 +704,4 @@ if(ENABLE_AVX2)
else()
target_compile_options(${PROJECT_NAME} PRIVATE -mavx2)
endif()
endif()
endif()