diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 15:37:31 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-21 15:37:31 +0200 |
commit | e8601b35b601b0ee1486dfaa12385e71b7f2b300 (patch) | |
tree | 244fc97a12ee17e28e6fc407988508bfbc06d89a /ViewController.h | |
parent | fe8f7273f0efdfe319a0d3e3b2fc2847992745af (diff) |
WIP quadtree visualization scaffolding
Diffstat (limited to 'ViewController.h')
-rw-r--r-- | ViewController.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ViewController.h b/ViewController.h index bccacd0..fb15fde 100644 --- a/ViewController.h +++ b/ViewController.h @@ -8,6 +8,7 @@ class View; class Museum; +class QuadTree; class ViewController { public: @@ -30,6 +31,7 @@ private: void update_artists(); void update_pathfinding(); void update_quadtree(); + void update_quadtree_recursive(QuadTree * tree); private: Museum & museum; @@ -38,7 +40,7 @@ private: bool draw_artists = true; bool draw_pathfinding = false; - bool draw_quadtree = false; + bool draw_quadtree = true; private: unsigned int scale = 16; |