My basic implementation of a quad tree to separate data in …

Twetch ·

My basic implementation of a quad tree to separate data in the world.

Before - Calling "delete grass(radius)" caused a mega frame spike.
After - Can be called 95k times per frame before hitting 16ms cost.