Clearing up some memory to prevent stupid issues
Preparing for some optimisations. (absolutely need to reduce the ammount of allocations done.)
This commit is contained in:
@@ -21,6 +21,7 @@ private:
|
||||
public:
|
||||
Intersect();
|
||||
~Intersect();
|
||||
void reset();
|
||||
void add(Intersection i);
|
||||
int count() { return this->num; };
|
||||
Intersection operator[](const int p) { return *this->list[p]; }
|
||||
|
||||
Reference in New Issue
Block a user