On Monday, 1 February 2016 at 02:56:06 UTC, Tofu Ninja wrote:
Just out of curiosity, does anyone have an octree
implementation for D laying around? Just looking to save some
time.
https://github.com/Ingrater/thBase/blob/master/src/thBase/container/octree.d
Its a loose octree implementation. That means the cells overlap a
bit to accomondate for the problem of objects that are on the
border between to cells. I don't know though if you can rip out
the implementation without some modifications.
Kind Regards
Benjamin Thaut