summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-06-05 12:55:17 -0500
committerDave Parks <davep@lindenlab.com>2012-06-05 12:55:17 -0500
commit92ee373e45b34d5eb7e403480ae1f579b27c4eb6 (patch)
treed84a0fb19d07e9ba2f57a52f22e184eb9c655e38 /indra/newview/llspatialpartition.h
parenta78fc68a21d01e54203dd737fece9b47f249ec4c (diff)
MAINT-646 Factor std::set out of lloctree
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r--indra/newview/llspatialpartition.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h
index e02bbd3096..e82c50b92b 100644
--- a/indra/newview/llspatialpartition.h
+++ b/indra/newview/llspatialpartition.h
@@ -325,8 +325,13 @@ public:
void dirtyGeom() { setState(GEOM_DIRTY); }
void dirtyMesh() { setState(MESH_DIRTY); }
+
+ //octree wrappers to make code more readable
element_list& getData() { return mOctreeNode->getData(); }
+ element_iter getDataBegin() { return mOctreeNode->getDataBegin(); }
+ element_iter getDataEnd() { return mOctreeNode->getDataEnd(); }
U32 getElementCount() const { return mOctreeNode->getElementCount(); }
+ bool isEmpty() const { return mOctreeNode->isEmpty(); }
void drawObjectBox(LLColor4 col);