mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 12:17:29 +01:00
widen parallel snap and show 4 / 4.5 / 4.75 m
This commit is contained in:
@@ -629,6 +629,8 @@ class editor_mode : public application_mode, private editor_track::observer
|
||||
bool snaps{false};
|
||||
double spacing{0.0};
|
||||
double distance{0.0};
|
||||
double angle{0.0}; // deg between the two straights
|
||||
double correction{0.0}; // m along the line normal to reach the spacing
|
||||
editor_track::straight const *neighbour{nullptr};
|
||||
};
|
||||
parallel_offer straight_parallel_offer(editor_track::straight const &Line, glm::dvec3 const &Offset) const;
|
||||
|
||||
Reference in New Issue
Block a user