diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/lldrawpoolsky.h | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-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.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 | }; |