00001 00032 #ifndef LL_LLBOX_H 00033 #define LL_LLBOX_H 00034 00035 #include "stdtypes.h" 00036 00037 class LLBox 00038 { 00039 protected: 00040 // GLuint mDisplayList; 00041 F32 mVertex[8][3]; 00042 U32 mTriangleCount; 00043 public: 00044 void prerender(); 00045 void cleanupGL(); 00046 00047 void renderface(S32 which_face); 00048 void render(); 00049 00050 U32 getTriangleCount() { return mTriangleCount; } 00051 }; 00052 00053 extern LLBox gBox; 00054 00055 #endif