2021-01-23 11:54:34 -06:00
|
|
|
#ifndef SKYBOX_H
|
|
|
|
#define SKYBOX_H
|
|
|
|
|
|
|
|
#include <GL/glew.h>
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
#include "Node.h"
|
|
|
|
#include "Material.h"
|
|
|
|
|
|
|
|
class Skybox : public Node {
|
|
|
|
public:
|
|
|
|
Skybox();
|
|
|
|
virtual Name GetType() const;
|
2021-01-24 16:37:35 -06:00
|
|
|
virtual Skybox *Create();
|
|
|
|
virtual Skybox *Duplicate();
|
|
|
|
virtual Skybox *Instance();
|
2021-01-23 11:54:34 -06:00
|
|
|
static Skybox *FromFiles(const char *right, const char* left, const char* top, const char* bottom, const char* front, const char* back);
|
|
|
|
void DrawSkybox();
|
|
|
|
Id id;
|
|
|
|
private:
|
|
|
|
Id cube;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SKYBOX_H */
|