branch | pyrit |
changeset 46 | 6493fb65f0b1 |
parent 44 | 3763b26244f0 |
child 92 | 9af5c039b678 |
--- a/include/octree.h Wed Mar 19 17:18:59 2008 +0100 +++ b/include/octree.h Wed Mar 26 00:52:27 2008 +0100 @@ -35,6 +35,9 @@ using namespace std; +/** + * a node of octree + */ class OctreeNode { union { @@ -64,6 +67,9 @@ void subdivide(BBox bbox, int maxdepth); }; +/** + * optimized octree + */ class Octree: public Container { OctreeNode *root;