Adapted Escape the Dawn engine.

This commit is contained in:
2014-04-04 23:14:18 +02:00
parent 6a64de37fb
commit a7985b1686
64 changed files with 3384 additions and 79 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef CubemapTexture_h__
#define CubemapTexture_h__
#include <SOIL.h>
class CubemapTexture
{
public:
CubemapTexture(
std::string posXFile,
std::string negXFile,
std::string posYFile,
std::string negYFile,
std::string posZFile,
std::string negZFile);
~CubemapTexture();
void Load();
void Bind(GLenum textureSlot);
private:
bool m_Loaded;
GLuint m_Texture;
std::string m_TextureFiles[6];
};
#endif // CubemapTexture_h__