X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FOctree.hh;h=ade0a026fdddc13e4507c88a9605e7f28bfd959f;hp=4dc0c5c7e460e801594585200e47d3a70bc34064;hb=57b78ebe21b1b48acd337daa5a1cb8c383959cfa;hpb=3cba2347188d70f5ee6e401774b8f86acfd1a3b9 diff --git a/src/Moof/Octree.hh b/src/Moof/Octree.hh index 4dc0c5c..ade0a02 100644 --- a/src/Moof/Octree.hh +++ b/src/Moof/Octree.hh @@ -39,6 +39,7 @@ #include #include #include +#include #include #include @@ -138,6 +139,13 @@ class Octree public: + inline void print(OctreeNodeP node) + { + //logDebug("-----"); + //logDebug("depth to node: %d", tree_.depth(node)); + //logDebug("size of node: %d", tree_.size(node)); + } + inline static OctreeP alloc(const OctreeNode& rootNode) { return OctreeP(new Octree(rootNode));