Generic Quad Tree implementation in C
Inspired by qsort.c
in stdlib.h
I could pass function pointers to my node adding function that provides custom logic for A: seeing if an object is within the Quad Tree node boundary at all and B: finding what quadrant/s the object spans. Then just store void pointers instead of struct Enemy
objects in the values array of the node.