mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-05 13:14:50 +01:00
feat(editor): the chunks waiting for the terrain model and the tiles of the orthophoto asked for and not shown yet outlined on the ground where they will be, pulsing, blue and orange, named where the name fits: at the heights of the terrain beside them or of the model, else level with the nearest chunk or track
This commit is contained in:
@@ -108,6 +108,8 @@ class editor_orthophoto
|
||||
void ground_arrived();
|
||||
// the tiles with the ground sampled under them, and of these the ones at guessed heights
|
||||
std::pair<std::size_t, std::size_t> grounded() const;
|
||||
// the rectangles (x, z) of the tiles of the imagery asked for and not shown yet
|
||||
std::vector<std::pair<glm::dvec2, glm::dvec2>> waiting() const;
|
||||
// takes the scene geometry out of the region (e.g. when the editor is left); it's re-created on the next update
|
||||
void detach_scene();
|
||||
// true for geometry created by the layer, so ground queries can skip it
|
||||
|
||||
Reference in New Issue
Block a user