diff options
author | Steven Bennetts <steve@lindenlab.com> | 2007-03-02 21:25:50 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2007-03-02 21:25:50 +0000 |
commit | 4dabd9c0472deb49573fdafef2fa413e59703f19 (patch) | |
tree | 06c680d6a2047e03838d6548bccd26c7baf9d652 /indra/newview/llvograss.h | |
parent | d4462963c6ba5db2088723bbedc7b60f1184c594 (diff) |
merge release@58699 beta-1-14-0@58707 -> release
Diffstat (limited to 'indra/newview/llvograss.h')
-rw-r--r-- | indra/newview/llvograss.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/indra/newview/llvograss.h b/indra/newview/llvograss.h index ef3d30c5ea..38aef64cd8 100644 --- a/indra/newview/llvograss.h +++ b/indra/newview/llvograss.h @@ -17,7 +17,7 @@ class LLSurfacePatch; class LLViewerImage; -class LLVOGrass : public LLViewerObject +class LLVOGrass : public LLAlphaObject { public: LLVOGrass(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp); @@ -27,6 +27,8 @@ public: static void initClass(); static void cleanupClass(); + virtual U32 getPartitionType() const; + /*virtual*/ U32 processUpdateMessage(LLMessageSystem *mesgsys, void **user_data, U32 block_num, @@ -34,11 +36,19 @@ public: LLDataPacker *dp); static void import(FILE *file, LLMessageSystem *mesgsys, const LLVector3 &pos); /*virtual*/ void exportFile(FILE *file, const LLVector3 &position); - + + void updateDrawable(BOOL force_damped); /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline); /*virtual*/ BOOL updateGeometry(LLDrawable *drawable); - + /*virtual*/ void getGeometry(S32 idx, + LLStrider<LLVector3>& verticesp, + LLStrider<LLVector3>& normalsp, + LLStrider<LLVector2>& texcoordsp, + LLStrider<LLColor4U>& colorsp, + LLStrider<U32>& indicesp); + + void updateFaceSize(S32 idx) { } /*virtual*/ void updateTextures(LLAgent &agent); /*virtual*/ BOOL updateLOD(); /*virtual*/ void setPixelAreaAndAngle(LLAgent &agent); // generate accurate apparent angle and area |