summaryrefslogtreecommitdiffstats
path: root/DisplayClass.h
blob: d297ca41393224687e3f6cfb87fadbdc2137cf91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _DISPLAYCLASS_H_
#define _DISPLAYCLASS_H_

#include "Cuboid.h"
#include "Cubehole.h"

class DisplayClass
{
  public:
    DisplayClass();

    void renderScene(unsigned long delta);

  private:
    struct RenderVisitor {
      void operator() (const Triangle &t) const;
    };

    Cuboid cubes[5][5][5];
};
#endif /*_DISPLAYCLASS_H_*/