diff options
author | Don Kjer <don@lindenlab.com> | 2012-07-17 16:52:19 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-07-17 16:52:19 +0000 |
commit | cff3469d46d297fbec34bc0d648588e900cd255c (patch) | |
tree | d768ddbc8712c9e81387ae4b03dd8227229a0fe1 /indra/llmath/llvolumeoctree.h | |
parent | 5a473a42a63d3277c65bb3bc96e49f020508cfe8 (diff) | |
parent | 509408f393b8eb58799678adde801675a4d4d600 (diff) |
Merge viewer-development -> viewer-horde-fixes
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> |