00001 00022 #ifndef LL_LLRENDERSPHERE_H 00023 #define LL_LLRENDERSPHERE_H 00024 00025 #include "llmath.h" 00026 #include "v3math.h" 00027 #include "v4math.h" 00028 #include "m3math.h" 00029 #include "m4math.h" 00030 #include "v4color.h" 00031 #include "llgl.h" 00032 00033 void lat2xyz(LLVector3 * result, F32 lat, F32 lon); // utility routine 00034 00035 class LLRenderSphere 00036 { 00037 public: 00038 LLGLuint mDList[5]; 00039 00040 void prerender(); 00041 void cleanupGL(); 00042 void render(F32 pixel_area); // of a box of size 1.0 at that position 00043 void render(); // render at highest LOD 00044 }; 00045 00046 extern LLRenderSphere gSphere; 00047 #endif