mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 11:37:29 +01:00
feat(editor): the point of a track laid where there's no terrain yet, as over the base map of the top view, takes the height of the terrain model with the offset of the scenery and the ballast, the model under the cursor asked for while laying; the fitted heights of the laying called a smoothed grade line in Polish
This commit is contained in:
@@ -439,6 +439,9 @@ class editor_mode : public application_mode, private editor_track::observer, pri
|
||||
void nmt_follow_tracks();
|
||||
// the height the ground will have where the terrain is made ahead of the track laid and isn't there yet
|
||||
bool nmt_ahead(double const X, double const Z, double &Height) const;
|
||||
// the same, else the height of the model with the offset of the scenery where its square is in: the ground where there's no
|
||||
// terrain made yet, as under the base map of the top view
|
||||
bool nmt_ground(double const X, double const Z, double &Height) const;
|
||||
// the squares of the model under the rectangle are in, none of them waiting to be asked for again
|
||||
bool nmt_ready(glm::dvec2 const &Min, glm::dvec2 const &Max);
|
||||
// Only: the paths of these tracks are shaped anew, the modifiers of those removed taken away; null: all of them. the number
|
||||
|
||||
Reference in New Issue
Block a user