blob: 214596678c9af236c1e64e67bd80e34f1f765cf9 (
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
|
#ifndef _DISPLAYCLASS_H_
#define _DISPLAYCLASS_H_
//#include "Cubehole.h"
#include "Temparray.h"
#include "BSPTree.h"
class DisplayClass
{
public:
DisplayClass(int x, int y, int z);
virtual ~DisplayClass();
void renderScene(unsigned long delta);
private:
struct Renderer {
void operator() (const Triangle &t) const {
t.render();
}
};
static Renderer render;
float angle;
//Cubehole cubehole0, cubehole1, cubehole2, cubehole3, cubehole4, cubehole5;
std::list<Triangle> triangles;
//BSPTree *tree;
};
#endif /*_DISPLAYCLASS_H_*/
|