17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 02:49:19 +02:00

fix(editor): fix: zero-vector curves detection

This commit is contained in:
maj00r
2026-10-03 01:02:18 +02:00
parent de5f2069f7
commit a9e63e9496
3 changed files with 128 additions and 24 deletions

View File

@@ -113,6 +113,7 @@ class editor_track
{
double angle{0.0002};
double offset{0.02};
double radius{20000.0};
};
static bool is_straight(TTrack const &Track, straight_tolerance const &Tolerance);
static straight find_straight(TTrack &Track, straight_tolerance const &Tolerance);