diff options
Diffstat (limited to 'indra/newview/llbox.h')
-rw-r--r-- | indra/newview/llbox.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/indra/newview/llbox.h b/indra/newview/llbox.h new file mode 100644 index 0000000000..038d82a4b6 --- /dev/null +++ b/indra/newview/llbox.h @@ -0,0 +1,32 @@ +/** + * @file llbox.h + * @brief Draws a box using display lists for speed. + * + * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +#ifndef LL_LLBOX_H +#define LL_LLBOX_H + +#include "stdtypes.h" + +class LLBox +{ +protected: +// GLuint mDisplayList; + F32 mVertex[8][3]; + U32 mTriangleCount; +public: + void prerender(); + void cleanupGL(); + + void renderface(S32 which_face); + void render(); + + U32 getTriangleCount() { return mTriangleCount; } +}; + +extern LLBox gBox; + +#endif |