diff options
author | Dave Parks <davep@lindenlab.com> | 2012-06-05 12:55:17 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-06-05 12:55:17 -0500 |
commit | 92ee373e45b34d5eb7e403480ae1f579b27c4eb6 (patch) | |
tree | d84a0fb19d07e9ba2f57a52f22e184eb9c655e38 /indra/newview/llspatialpartition.h | |
parent | a78fc68a21d01e54203dd737fece9b47f249ec4c (diff) |
MAINT-646 Factor std::set out of lloctree
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r-- | indra/newview/llspatialpartition.h | 5 |
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); |