diff options
author | Oz Linden <oz@lindenlab.com> | 2012-07-13 13:04:16 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-07-13 13:04:16 -0400 |
commit | c3d9f0e41cc0cde6f1383225a8937d128e5838d8 (patch) | |
tree | 24d60b5329c102c672ccd55e31527a1f304eca6a /indra/llmath/llvolumeoctree.h | |
parent | 254c2703632ef5d7a875597d4907804c63ed8e72 (diff) | |
parent | e51a60536dc082be563c2f5b3b4f86df843d3a14 (diff) |
merge changes for DRTVWR-179
Diffstat (limited to 'indra/llmath/llvolumeoctree.h')
-rw-r--r--[-rwxr-xr-x] | indra/llmath/llvolumeoctree.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llmath/llvolumeoctree.h b/indra/llmath/llvolumeoctree.h index dac97b14b5..9ae34a0c4e 100755..100644 --- a/indra/llmath/llvolumeoctree.h +++ b/indra/llmath/llvolumeoctree.h @@ -49,7 +49,7 @@ public: LLVolumeTriangle() { - + mBinIndex = -1; } LLVolumeTriangle(const LLVolumeTriangle& rhs) @@ -74,9 +74,16 @@ public: U16 mIndex[3]; F32 mRadius; + mutable S32 mBinIndex; + virtual const LLVector4a& getPositionGroup() const; virtual const F32& getBinRadius() const; + + S32 getBinIndex() const { return mBinIndex; } + void setBinIndex(S32 idx) const { mBinIndex = idx; } + + }; class LLVolumeOctreeListener : public LLOctreeListener<LLVolumeTriangle> |