Couch
Skybox.h
1 #ifndef SKYBOX_H
2 #define SKYBOX_H
3 
4 #include <GL/glew.h>
5 
6 #include "types.h"
7 #include "Node.h"
8 #include "Material.h"
9 
10 class Skybox : public Node {
11 public:
12  Skybox();
13  virtual Name GetType() const;
14  virtual Skybox *Create();
15  virtual Skybox *Duplicate();
16  virtual Skybox *Instance();
17  static Skybox *FromFiles(const char *right, const char* left, const char* top, const char* bottom, const char* front, const char* back);
18  void DrawSkybox();
19  Id id;
20 private:
21  Id cube;
22 };
23 
24 #endif /* SKYBOX_H */
Definition: Node.h:75
Definition: Skybox.h:10
virtual Skybox * Duplicate()
Definition: Skybox.cpp:72
virtual Skybox * Instance()
Definition: Skybox.cpp:80
virtual Skybox * Create()
Definition: Skybox.cpp:68