summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.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/lldrawable.h
parenta78fc68a21d01e54203dd737fece9b47f249ec4c (diff)
MAINT-646 Factor std::set out of lloctree
Diffstat (limited to 'indra/newview/lldrawable.h')
-rw-r--r--indra/newview/lldrawable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.h b/indra/newview/lldrawable.h
index e2064b79f8..c01a8c3c29 100644
--- a/indra/newview/lldrawable.h
+++ b/indra/newview/lldrawable.h
@@ -109,6 +109,9 @@ public:
F32 getIntensity() const { return llmin(mXform.getScale().mV[0], 4.f); }
S32 getLOD() const { return mVObjp ? mVObjp->getLOD() : 1; }
F32 getBinRadius() const { return mBinRadius; }
+ S32 getBinIndex() const { return mBinIndex; }
+ void setBinIndex(S32 index) const { mBinIndex = index; }
+
void getMinMax(LLVector3& min,LLVector3& max) const { mXform.getMinMax(min,max); }
LLXformMatrix* getXform() { return &mXform; }
@@ -315,6 +318,7 @@ private:
mutable U32 mVisible;
F32 mRadius;
F32 mBinRadius;
+ mutable S32 mBinIndex;
S32 mGeneration;
LLVector3 mCurrentScale;