diff options
author | sanine <sanine.not@pm.me> | 2022-01-25 23:07:41 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-01-25 23:07:41 -0600 |
commit | 3c0ee746d9d2822c1bf04e76267c14785b4d54df (patch) | |
tree | 07df48552bdc9a6c18743d185bbe4539458465a9 /experimental/tectonics/tectonics.h | |
parent | 008cf63a05d7be6ed165747ec5e735e002de3b2d (diff) |
add quadtree freeing
Diffstat (limited to 'experimental/tectonics/tectonics.h')
-rw-r--r-- | experimental/tectonics/tectonics.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |