17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-30 21:20:28 +01:00

feat(editor): compound curves with dual radii and transition

This commit is contained in:
maj00r
2026-10-03 00:01:05 +02:00
parent 1985758a86
commit 40422aec30
5 changed files with 247 additions and 6 deletions

View File

@@ -128,6 +128,10 @@ class editor_track
double transition_in{0.0};
double transition_out{0.0};
double cant{0.0};
bool compound{false};
double radius2{0.0};
double transition_middle{0.0};
double split{0.5};
};
static bool find_curve(TTrack &Track, straight_tolerance const &Tolerance, double const Gauge, curve &Curve);
struct switch_template