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

fix: structure gauge measured from the rail head, not the rail foot of the scenery points

This commit is contained in:
maj00r
2026-10-04 01:48:11 +02:00
parent f2e727ce9a
commit 208ad3400d
2 changed files with 5 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ std::vector<profile> default_profiles();
std::vector<profile> load_profiles(std::string const &File);
void save_profiles(std::string const &File, std::vector<profile> const &Profiles);
// the points of the paths in the scenery lie at the rail foot, the gauge is measured from the rail head
double constexpr rail_height{0.18};
// below this height the outline is the limit installation gauge, which leaves the room for the platforms
double constexpr lower_part{1.17};