summaryrefslogtreecommitdiff
path: root/indra/newview/llface.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r--indra/newview/llface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h
index eb3b47d6d6..d4f4313073 100644
--- a/indra/newview/llface.h
+++ b/indra/newview/llface.h
@@ -176,6 +176,8 @@ public:
LLStrider<LLVector3> &normals,
LLStrider<LLVector2> &texCoords,
LLStrider<U16> &indices);
+
+ LLVector3 getAverageNormal();
S32 getColors(LLStrider<LLColor4U> &colors);
S32 getIndices(LLStrider<U16> &indices);
@@ -278,6 +280,9 @@ private:
U32 mIndicesCount;
U32 mIndicesIndex; // index into mVertexBuffer's index array
S32 mIndexInTex[LLRender::NUM_TEXTURE_CHANNELS];
+
+ LLVector3 mAverageNormal;
+ bool mHasAverageNormal;
LLXformMatrix* mXform;