How can I go about creating a quadtree in PHP, is it even possible?
I would like a “grid like” layout.
So each “node” has 4 “exits” – north, south, east and west.
Does anyone have some sample PHP code of a Quadtree because I couldn’t find any documentation specifically for PHP 🙁
I’ll be your best friend… (possibly some Rep in there too).
If I’m understanding your question correctly, then the following might be what you are looking for:
etc.