cubemapper

diff src/texture.h @ 1:d7a29cb7ac8d

resize to the final cubemap face size
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 28 Jul 2017 07:44:35 +0300
parents 8fc9e1d3aad2
children 2bfafdced01a
line diff
     1.1 --- a/src/texture.h	Thu Jul 27 20:36:12 2017 +0300
     1.2 +++ b/src/texture.h	Fri Jul 28 07:44:35 2017 +0300
     1.3 @@ -14,6 +14,9 @@
     1.4  	Texture();
     1.5  	~Texture();
     1.6  
     1.7 +	int get_width() const;
     1.8 +	int get_height() const;
     1.9 +
    1.10  	bool load(const char *fname);
    1.11  
    1.12  	const Mat4 &texture_matrix() const;