16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 12:49:18 +02:00

improvements

This commit is contained in:
milek7
2019-02-23 23:41:25 +01:00
parent 37dc56a8d8
commit 41548af003
7 changed files with 94 additions and 59 deletions

View File

@@ -345,6 +345,10 @@ public:
group( scene::group_handle Group );
scene::group_handle
group() const;
void
mark_dirty() { m_dirty = true; }
bool
dirty() const { return m_dirty; }
protected:
// members
@@ -354,6 +358,7 @@ protected:
double m_rangesquaredmax { 0.0 }; // visibility range, max
bool m_visible { true }; // visibility flag
std::string m_name;
bool m_dirty { false };
private:
// methods