Skip to content

Commit

Permalink
format a little
Browse files Browse the repository at this point in the history
  • Loading branch information
Turmoil committed Dec 24, 2022
1 parent 2a6d728 commit ee1f561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dungine/inc/utility/QuadTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const int MAX_DENSITY = 64;
class QuadTreeNode
{
friend class QuadTree;

public:
QuadTreeNode(const Rect& range, int maxDensity);

Expand Down Expand Up @@ -92,7 +93,7 @@ class QuadTree
void Insert(GameObject* obj);
void Query(const Rect& range, std::vector<GameObject*>& results);
void Query(GameObject* obj, std::vector<GameObject*>& results);
std::vector<GameObject*> Query(const Rect& range); // RVO?
std::vector<GameObject*> Query(const Rect& range); // RVO?
std::vector<GameObject*> Query(GameObject* obj); // RVO?

void Clear();
Expand Down

0 comments on commit ee1f561

Please sign in to comment.