diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolsky.h')
-rw-r--r-- | linden/indra/newview/lldrawpoolsky.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/linden/indra/newview/lldrawpoolsky.h b/linden/indra/newview/lldrawpoolsky.h index d65fc9f..b9c1dda 100644 --- a/linden/indra/newview/lldrawpoolsky.h +++ b/linden/indra/newview/lldrawpoolsky.h | |||
@@ -33,13 +33,21 @@ | |||
33 | class LLSkyTex; | 33 | class LLSkyTex; |
34 | class LLHeavenBody; | 34 | class LLHeavenBody; |
35 | 35 | ||
36 | class LLDrawPoolSky : public LLDrawPool | 36 | class LLDrawPoolSky : public LLFacePool |
37 | { | 37 | { |
38 | private: | 38 | private: |
39 | LLSkyTex *mSkyTex; | 39 | LLSkyTex *mSkyTex; |
40 | LLHeavenBody *mHB[2]; // Sun and Moon | 40 | LLHeavenBody *mHB[2]; // Sun and Moon |
41 | 41 | ||
42 | public: | 42 | public: |
43 | enum | ||
44 | { | ||
45 | VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | | ||
46 | LLVertexBuffer::MAP_TEXCOORD | ||
47 | }; | ||
48 | |||
49 | virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; } | ||
50 | |||
43 | LLDrawPoolSky(); | 51 | LLDrawPoolSky(); |
44 | 52 | ||
45 | /*virtual*/ LLDrawPool *instancePool(); | 53 | /*virtual*/ LLDrawPool *instancePool(); |
@@ -52,8 +60,8 @@ public: | |||
52 | void setMoon(LLHeavenBody* moon) { mHB[1] = moon; } | 60 | void setMoon(LLHeavenBody* moon) { mHB[1] = moon; } |
53 | 61 | ||
54 | void renderSkyCubeFace(U8 side); | 62 | void renderSkyCubeFace(U8 side); |
55 | void renderHeavenlyBody(U8 hb, const LLFace* face); | 63 | void renderHeavenlyBody(U8 hb, LLFace* face); |
56 | void renderSunHalo(const LLFace* face); | 64 | void renderSunHalo(LLFace* face); |
57 | 65 | ||
58 | virtual S32 getMaterialAttribIndex() { return 0; } | 66 | virtual S32 getMaterialAttribIndex() { return 0; } |
59 | }; | 67 | }; |