summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.h
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-09-30 22:47:14 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-09-30 22:47:14 +0300
commit4d536f8955082c0d7bdbd21b6d668529b9e3f88b (patch)
tree063f712674b6f61aaa3dae0703db1adb17582094 /indra/llmath/llvolume.h
parent16f0cfe6dc0f95e599ff8365a876ea6ba62678f8 (diff)
parent2d52b62e67cf46222396c724d00d2de874819197 (diff)
Merge from viewer release
Diffstat (limited to 'indra/llmath/llvolume.h')
-rwxr-xr-xindra/llmath/llvolume.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmath/llvolume.h b/indra/llmath/llvolume.h
index e1161682b5..1da2d0c6b1 100755
--- a/indra/llmath/llvolume.h
+++ b/indra/llmath/llvolume.h
@@ -972,6 +972,7 @@ protected:
~LLVolume(); // use unref
public:
+ typedef std::vector<LLVolumeFace> face_list_t;
struct FaceParams
{
@@ -1045,6 +1046,10 @@ public:
// conversion if *(LLVolume*) to LLVolume&
const LLVolumeFace &getVolumeFace(const S32 f) const {return mVolumeFaces[f];} // DO NOT DELETE VOLUME WHILE USING THIS REFERENCE, OR HOLD A POINTER TO THIS VOLUMEFACE
+ LLVolumeFace &getVolumeFace(const S32 f) {return mVolumeFaces[f];} // DO NOT DELETE VOLUME WHILE USING THIS REFERENCE, OR HOLD A POINTER TO THIS VOLUMEFACE
+
+ face_list_t& getVolumeFaces() { return mVolumeFaces; }
+
U32 mFaceMask; // bit array of which faces exist in this volume
LLVector3 mLODScaleBias; // vector for biasing LOD based on scale
@@ -1084,7 +1089,6 @@ public:
BOOL mGenerateSingleFace;
- typedef std::vector<LLVolumeFace> face_list_t;
face_list_t mVolumeFaces;
public: