]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Octree.cc
more cleanup
[chaz/yoink] / src / Moof / Octree.cc
index 300dbcdea7a9f2537d0499667374f22d777c2cb3..bd1b410a6faa17cbc837df55527646b54c5232fb 100644 (file)
@@ -66,6 +66,9 @@ OctreeNodeP Octree::insert(EntityP entity, OctreeNodeP node)
                        entity->getAabb().max[2] < node->getAabb().max[2] &&
                        entity->getAabb().min[2] > node->getAabb().min[2]))
        {
+               // TODO this check is only needed for the root node, if we're inside the
+               // volume of the root node, we'll be fully inside the child as
+               // determined by trying to insert the parent node
                goto done;
        }
 
This page took 0.017627 seconds and 4 git commands to generate.