Octree implementation?

Benjamin Thaut via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 1 11:34:28 PST 2016


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


More information about the Digitalmars-d-learn mailing list