From 3c0ee746d9d2822c1bf04e76267c14785b4d54df Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 25 Jan 2022 23:07:41 -0600 Subject: add quadtree freeing --- experimental/tectonics/tectonics.h | 1 + 1 file changed, 1 insertion(+) (limited to 'experimental/tectonics/tectonics.h') diff --git a/experimental/tectonics/tectonics.h b/experimental/tectonics/tectonics.h index 5f39ff7..85b86fe 100644 --- a/experimental/tectonics/tectonics.h +++ b/experimental/tectonics/tectonics.h @@ -48,6 +48,7 @@ bool insert(struct quadtree_node_t *node, int get_closest(struct quadtree_node_t *root, struct point_t pt); void draw_quadtree(cairo_t *cr, struct quadtree_node_t *root); +void free_tree(struct quadtree_node_t *root); /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * -- cgit v1.2.1