]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Octree.hh
settings subsystem now using lua
[chaz/yoink] / src / Moof / Octree.hh
index 186961f00e7b3d28a55ea7e6bef9a69c7aceb945..e3e2225f03299636137b21aa3a54aeb38fd25b38 100644 (file)
@@ -98,7 +98,10 @@ struct OctreeNode : public Entity
                }
 
                if (!objects.empty())
+               {
                        aabb_.draw();
+                       //sphere_.draw();
+               }
        }
 
 
@@ -163,6 +166,11 @@ public:
 
        OctreeNodeP reinsert(EntityP entity, OctreeNodeP node);
 
+       void draw(Scalar alpha)
+       {
+               draw(alpha, tree_.root());
+       }
+
        void drawIfVisible(Scalar alpha, const Frustum& frustum)
        {
                drawIfVisible(alpha, frustum, tree_.root());
This page took 0.025066 seconds and 4 git commands to generate.