summaryrefslogtreecommitdiff
path: root/indra/newview/llbox.h
blob: 038d82a4b6a8ec08cb2bb0b22d3ffc3228d5d9fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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