From 420b91db29485df39fd6e724e782c449158811cb Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 2 Jan 2007 08:33:20 +0000 Subject: Print done when done. --- indra/newview/llbox.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 indra/newview/llbox.h (limited to 'indra/newview/llbox.h') 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 -- cgit v1.2.3