diff options
author | Merov Linden <merov@lindenlab.com> | 2010-11-04 18:10:29 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-11-04 18:10:29 -0700 |
commit | 4bbe823302427a705ea541d968f6058571a13c2f (patch) | |
tree | d932a7a3483b674a7600b0e4bff3d0bda3344b35 /indra/newview/llvowater.h | |
parent | ba3307b8d0f2ceb40454174a6593f3f98ce98b65 (diff) | |
parent | f7af29ab40c2405504969a453eba3919be1af5c5 (diff) |
merge with STORM-105
Diffstat (limited to 'indra/newview/llvowater.h')
-rw-r--r-- | indra/newview/llvowater.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llvowater.h b/indra/newview/llvowater.h index beefc3f17f..cb9584cabf 100644 --- a/indra/newview/llvowater.h +++ b/indra/newview/llvowater.h @@ -29,6 +29,7 @@ #include "llviewerobject.h" #include "llviewertexture.h" +#include "pipeline.h" #include "v2math.h" const U32 N_RES = 16; //32 // number of subdivisions of wave tile @@ -77,6 +78,19 @@ public: protected: BOOL mUseTexture; BOOL mIsEdgePatch; + S32 mRenderType; }; +class LLVOVoidWater : public LLVOWater +{ +public: + LLVOVoidWater(LLUUID const& id, LLPCode pcode, LLViewerRegion* regionp) : LLVOWater(id, pcode, regionp) + { + mRenderType = LLPipeline::RENDER_TYPE_VOIDWATER; + } + + /*virtual*/ U32 getPartitionType() const; +}; + + #endif // LL_VOSURFACEPATCH_H |