Implementing ECS SystemBase and updating slang

This commit is contained in:
Dynamitos committed 2022-11-15 12:19:11 +01:00
1 parent 05bc31a2b4
commit f635ee2100
106 files changed
+1083 -1675

No files matched your search

+3 -3
View File
@@ -23,13 +23,13 @@ public:
bool isEnabled() const;
// maybe not the healthiest inteface
// non-const version
Rect& getBoundingBox();
Math::Rect& getBoundingBox();
// The bounding box describes the relative size of any Element
// relative to the total view, meaning a bounding box of (0,0), (1,1)
// would take up the entire view
const Rect getBoundingBox() const;
const Math::Rect getBoundingBox() const;
protected:
Rect boundingBox;
Math::Rect boundingBox;
bool dirty;
bool enabled;