chihuamaranian · @chihuamaranian
39 followers · 44 posts · Server tech.lgbt

@arran

So I got around to checking out your project. You definitely have better performance than me from the SpatialHashSet you use.

I believe you can generalize this further for better performance by making the spatial structure recursive. Here's an example I whipped up a year or two back. Only works in 2d, but could be easily refactored to 3d as well:

gitlab.com/chihuamaranian/coll

It's a structure.

#boids #quadtree #spatialpartitioning #gamedev #programming

Last updated 2 years ago