llsphere.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLSPHERE_H
00033 #define LL_LLSPHERE_H
00034 
00035 //#include "vmath.h"
00036 #include "llmath.h"
00037 #include "v3math.h"
00038 #include "v4math.h"
00039 #include "m3math.h"
00040 #include "m4math.h"
00041 #include "v4color.h"
00042 #include "llgl.h"
00043 
00044 void lat2xyz(LLVector3 * result, F32 lat, F32 lon);                     // utility routine
00045 
00046 class LLSphere  
00047 {
00048 public:
00049         LLGLuint        mDList[5];
00050 
00051         void prerender();
00052         void cleanupGL();
00053         void render(F32 pixel_area);            // of a box of size 1.0 at that position
00054         void render();                                          // render at highest LOD
00055 };
00056 
00057 extern LLSphere gSphere;
00058 #endif

Generated on Thu Jul 1 06:09:12 2010 for Second Life Viewer by  doxygen 1.4.7