New answers tagged

3 votes

Spatial radius search in Boid simulation

Nice problem! I gotta tell ya, QuadTrees is definitely the appropriate datastructure. And it's just not that hard. Let coord be the bit interleaving of ...
J_H's user avatar
  • 16.8k
3 votes

Spatial radius search in Boid simulation

The slowness comes from drawing Your query() function is actually quite efficient. The problem comes from drawing the boids. If you remove the calls to ...
G. Sliepen's user avatar
  • 50.4k

Top 50 recent answers are included