From e8601b35b601b0ee1486dfaa12385e71b7f2b300 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 21 Oct 2024 15:37:31 +0200 Subject: WIP quadtree visualization scaffolding --- ViewController.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ViewController.h') 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; -- cgit v1.2.3