From a524cfdd2756ac945040ca9bed576fb2f68f8c9f Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 16 May 2010 21:44:32 +0200 Subject: Imported project. --- texture.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 texture.h (limited to 'texture.h') diff --git a/texture.h b/texture.h new file mode 100644 index 0000000..14e500f --- /dev/null +++ b/texture.h @@ -0,0 +1,14 @@ +#ifndef _TEXTURE_H_ +#define _TEXTURE_H_ +class Texture { + public: + unsigned int tex(); + protected: + void build(); + unsigned char* data; + unsigned int width; + unsigned int height; + unsigned int byte_per_pixel; + unsigned int texture; +}; +#endif // _TEXTURE_H_ -- cgit v1.2.3