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

Structure gauge: camera along the track at the height of the hit, close to it

This commit is contained in:
maj00r
2026-10-04 02:25:12 +02:00
parent ce0c311106
commit 1ab5e1e8c3
2 changed files with 13 additions and 7 deletions

View File

@@ -47,6 +47,7 @@ class editor_mode : public application_mode, private editor_track::observer
double depth{0.0}; // m
TTrack const *track{nullptr}; // nearest one, may be gone by now
int path{0};
glm::dvec2 direction{0.0, 1.0}; // of the track there, in the plan
};
// constructors
editor_mode();