diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolsky.h')
-rw-r--r-- | linden/indra/newview/lldrawpoolsky.h | 4 |
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 | ||
38 | class LLSkyTex; | 38 | class LLSkyTex; |
39 | class LLHeavenBody; | ||
39 | class LLGLSLShader; | 40 | class LLGLSLShader; |
40 | 41 | ||
41 | class LLDrawPoolSky : public LLFacePool | 42 | class LLDrawPoolSky : public LLFacePool |
42 | { | 43 | { |
43 | private: | 44 | private: |
44 | LLSkyTex *mSkyTex; | 45 | LLSkyTex *mSkyTex; |
46 | LLHeavenBody *mHB[2]; // Sun and Moon | ||
45 | LLGLSLShader *mShader; | 47 | LLGLSLShader *mShader; |
46 | 48 | ||
47 | public: | 49 | public: |
@@ -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); |