#include <quadtree.h>
This is not a general quad tree implementation. Optimization and tweaks have ended its value as a general quad tree. It does have some useful functions however.
Public Member Functions | |
| BuildingMesh * | FindBuilding (int mapX, int mapY) |
| Find a building at the given location if it exists. | |
| void | IntersectRay (int flags, const grinliz::Ray &ray, LilithObjectList *vec) |
| void lilith3d::QuadTree::IntersectRay | ( | int | flags, | |
| const grinliz::Ray & | ray, | |||
| LilithObjectList * | vec | |||
| ) |
Query the quadTree for intersections with the given ray. Normally called from the Lilith3D class, but can be called directly.
1.5.1-p1