A super basic spatial partitioning structure I wrote to demonstrate how I approach an engineering problem.
This is a work in progress. Lots of optimizations and features were omitted for the sake of brevity.
Watch the recording of me coding it live: https://youtu.be/6QNijx_xo34