diff --git a/Dungine/inc/utility/QuadTree.h b/Dungine/inc/utility/QuadTree.h index 7f20253..72fdf1b 100644 --- a/Dungine/inc/utility/QuadTree.h +++ b/Dungine/inc/utility/QuadTree.h @@ -47,6 +47,7 @@ const int MAX_DENSITY = 64; class QuadTreeNode { friend class QuadTree; + public: QuadTreeNode(const Rect& range, int maxDensity); @@ -92,7 +93,7 @@ class QuadTree void Insert(GameObject* obj); void Query(const Rect& range, std::vector& results); void Query(GameObject* obj, std::vector& results); - std::vector Query(const Rect& range); // RVO? + std::vector Query(const Rect& range); // RVO? std::vector Query(GameObject* obj); // RVO? void Clear();