goat3dgfx

diff src/texture.h @ 6:3d96734fd477

cubemap loading and cubemap example program
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 17 Nov 2013 08:20:13 +0200
parents 1873dfd13f2d
children 7d6b667821cf
line diff
     1.1 --- a/src/texture.h	Sun Nov 17 03:22:40 2013 +0200
     1.2 +++ b/src/texture.h	Sun Nov 17 08:20:13 2013 +0200
     1.3 @@ -51,6 +51,10 @@
     1.4  };
     1.5  
     1.6  class TextureCube : public Texture {
     1.7 +private:
     1.8 +	bool load_multi(const Image &img, const float *xoffsets, const float *yoffsets, float sz,
     1.9 +		unsigned int rotmask = 0);
    1.10 +
    1.11  public:
    1.12  	TextureCube();
    1.13