From d15062f7f2563761660e665d0940d9c0d1a7883c Mon Sep 17 00:00:00 2001 From: drumsetmonkey <abelleisle@roadrunner.com> Date: Thu, 22 Oct 2015 09:23:35 -0400 Subject: Commented more of entities, added new texture namespace and class --- include/Texture.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/Texture.h (limited to 'include/Texture.h') diff --git a/include/Texture.h b/include/Texture.h new file mode 100644 index 0000000..45c8df1 --- /dev/null +++ b/include/Texture.h @@ -0,0 +1,22 @@ +#ifndef TEXTURE_H +#define TEXTURE_H + +#include <common.h> + +namespace Texture{ + GLuint loadTexture(const char *fileName); +} + +class Texturec{ +public: + Texturec(uint amt, ...); + void bindNext(); + void bindPrev(); + + GLuint *image; +private: + int texState; + +}; + +#endif //TEXTURE_H \ No newline at end of file -- cgit v1.2.3