Added small test for OctTree.

This commit is contained in:
William Moberg
2015-12-07 17:27:57 +01:00
parent 000ad6358f
commit 648ba502bb
2 changed files with 13 additions and 5 deletions
-5
View File
@@ -21,11 +21,6 @@ public:
//Returns true if the ray collides with something in the tree. Result is written to [data].
bool RayCollides(const Ray& ray, Output& data) const;
//Test Getters.
OctTree** Children() { return m_Children; }
const AABB& Box() { return m_Box; }
const std::vector<AABB>& ContainingBoxes() { return m_ContainingBoxes; }
private:
OctTree* m_Children[8];
std::vector<AABB> m_ContainingBoxes;