diff options
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r-- | indra/newview/llface.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h index dfe5ab6277..4a551ff261 100644 --- a/indra/newview/llface.h +++ b/indra/newview/llface.h @@ -134,7 +134,9 @@ public: const LLColor4& getFaceColor() const { return mFaceColor; } const LLColor4& getRenderColor() const; + //for volumes + void updateRebuildFlags(); BOOL getGeometryVolume(const LLVolume& volume, const S32 &f, const LLMatrix4& mat_vert, const LLMatrix3& mat_normal, @@ -169,7 +171,7 @@ public: void updateCenterAgent(); // Update center when xform has changed. void renderSelectedUV(); - void renderForSelect(U32 data_mask = LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD); + void renderForSelect(U32 data_mask = LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0); void renderSelected(LLImageGL *image, const LLColor4 &color); F32 getKey() const { return mDistance; } @@ -182,10 +184,12 @@ public: void setGeomIndex(U16 idx) { mGeomIndex = idx; } void setIndicesIndex(S32 idx) { mIndicesIndex = idx; } - + void setDrawInfo(LLDrawInfo* draw_info); + protected: public: + LLVector3 mCenterLocal; LLVector3 mCenterAgent; LLVector3 mExtents[2]; @@ -196,6 +200,7 @@ public: F32 mLastUpdateTime; F32 mLastMoveTime; LLMatrix4* mTextureMatrix; + LLDrawInfo* mDrawInfo; protected: friend class LLGeometryManager; |