2014-12-26 00:39:10 +01:00
|
|
|
/*
|
|
|
|
* =====================================================================================
|
|
|
|
*
|
|
|
|
* Filename: Skybox.hpp
|
|
|
|
*
|
|
|
|
* Description:
|
|
|
|
*
|
|
|
|
* Version: 1.0
|
|
|
|
* Created: 25/12/2014 23:43:07
|
|
|
|
* Revision: none
|
|
|
|
* Compiler: gcc
|
|
|
|
*
|
|
|
|
* Author: Quentin BAZIN, <quent42340@gmail.com>
|
|
|
|
* Company:
|
|
|
|
*
|
|
|
|
* =====================================================================================
|
|
|
|
*/
|
|
|
|
#ifndef SKYBOX_HPP_
|
|
|
|
#define SKYBOX_HPP_
|
|
|
|
|
|
|
|
#include "Shader.hpp"
|
|
|
|
#include "VertexBuffer.hpp"
|
|
|
|
|
|
|
|
class Skybox {
|
|
|
|
public:
|
|
|
|
Skybox();
|
|
|
|
~Skybox();
|
|
|
|
|
2014-12-29 02:57:29 +01:00
|
|
|
void draw(Shader &shader);
|
2014-12-26 00:39:10 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
VertexBuffer m_vbo;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SKYBOX_HPP_
|