diff options
author | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
commit | 420b91db29485df39fd6e724e782c449158811cb (patch) | |
tree | b471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/llbox.h |
Print done when done.
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 |