aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolsky.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/lldrawpoolsky.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/lldrawpoolsky.h')
-rw-r--r--linden/indra/newview/lldrawpoolsky.h14
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 @@
33class LLSkyTex; 33class LLSkyTex;
34class LLHeavenBody; 34class LLHeavenBody;
35 35
36class LLDrawPoolSky : public LLDrawPool 36class LLDrawPoolSky : public LLFacePool
37{ 37{
38private: 38private:
39 LLSkyTex *mSkyTex; 39 LLSkyTex *mSkyTex;
40 LLHeavenBody *mHB[2]; // Sun and Moon 40 LLHeavenBody *mHB[2]; // Sun and Moon
41 41
42public: 42public:
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};