Change World to use a base group instead of storing all the world object.

Makes the code simpler and avoid some potential issues. Add to change a bit some test to make them pass properly.
This commit is contained in:
Godzil
2020-03-09 13:47:42 +00:00
parent 1510de3b36
commit e653855556
4 changed files with 24 additions and 49 deletions

View File

@@ -46,6 +46,8 @@ public:
bool includes(Shape *b);
uint32_t getObjectCount() { return this->objectCount + this->unboxableObjectCount; };
Group();
void dumpMe(FILE * fp);