aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llrendersphere.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llrendersphere.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llrendersphere.h')
-rw-r--r--linden/indra/newview/llrendersphere.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/linden/indra/newview/llrendersphere.h b/linden/indra/newview/llrendersphere.h
new file mode 100644
index 0000000..ace57e4
--- /dev/null
+++ b/linden/indra/newview/llrendersphere.h
@@ -0,0 +1,47 @@
1/**
2 * @file llrendersphere.h
3 * @brief interface for the LLRenderSphere class.
4 *
5 * $LicenseInfo:firstyear=2001&license=internal$
6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc.
8 *
9 * The following source code is PROPRIETARY AND CONFIDENTIAL. Use of
10 * this source code is governed by the Linden Lab Source Code Disclosure
11 * Agreement ("Agreement") previously entered between you and Linden
12 * Lab. By accessing, using, copying, modifying or distributing this
13 * software, you acknowledge that you have been informed of your
14 * obligations under the Agreement and agree to abide by those obligations.
15 *
16 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
17 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
18 * COMPLETENESS OR PERFORMANCE.
19 * $/LicenseInfo$
20 */
21
22#ifndef LL_LLRENDERSPHERE_H
23#define LL_LLRENDERSPHERE_H
24
25#include "llmath.h"
26#include "v3math.h"
27#include "v4math.h"
28#include "m3math.h"
29#include "m4math.h"
30#include "v4color.h"
31#include "llgl.h"
32
33void lat2xyz(LLVector3 * result, F32 lat, F32 lon); // utility routine
34
35class LLRenderSphere
36{
37public:
38 LLGLuint mDList[5];
39
40 void prerender();
41 void cleanupGL();
42 void render(F32 pixel_area); // of a box of size 1.0 at that position
43 void render(); // render at highest LOD
44};
45
46extern LLRenderSphere gSphere;
47#endif