aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolsky.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawpoolsky.h')
-rw-r--r--linden/indra/newview/lldrawpoolsky.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/lldrawpoolsky.h b/linden/indra/newview/lldrawpoolsky.h
index 8595d73..f35b114 100644
--- a/linden/indra/newview/lldrawpoolsky.h
+++ b/linden/indra/newview/lldrawpoolsky.h
@@ -36,12 +36,14 @@
36#include "lldrawpool.h" 36#include "lldrawpool.h"
37 37
38class LLSkyTex; 38class LLSkyTex;
39class LLHeavenBody;
39class LLGLSLShader; 40class LLGLSLShader;
40 41
41class LLDrawPoolSky : public LLFacePool 42class LLDrawPoolSky : public LLFacePool
42{ 43{
43private: 44private:
44 LLSkyTex *mSkyTex; 45 LLSkyTex *mSkyTex;
46 LLHeavenBody *mHB[2]; // Sun and Moon
45 LLGLSLShader *mShader; 47 LLGLSLShader *mShader;
46 48
47public: 49public:
@@ -67,6 +69,8 @@ public:
67 /*virtual*/ void renderForSelect(); 69 /*virtual*/ void renderForSelect();
68 /*virtual*/ void endRenderPass(S32 pass); 70 /*virtual*/ void endRenderPass(S32 pass);
69 void setSkyTex(LLSkyTex* const st) { mSkyTex = st; } 71 void setSkyTex(LLSkyTex* const st) { mSkyTex = st; }
72 void setSun(LLHeavenBody* sun_flag) { mHB[0] = sun_flag; }
73 void setMoon(LLHeavenBody* moon) { mHB[1] = moon; }
70 74
71 void renderSkyCubeFace(U8 side); 75 void renderSkyCubeFace(U8 side);
72 void renderHeavenlyBody(U8 hb, LLFace* face); 76 void renderHeavenlyBody(U8 hb, LLFace* face);