clray

diff src/mesh.h @ 14:29f9330cfa4b

trying to debug the bloody thing
author John Tsiombikas
date Sat, 07 Aug 2010 03:36:36 +0100
parents 407935b73af3
children 754faf15ba36
line diff
     1.1 --- a/src/mesh.h	Wed Aug 04 04:51:06 2010 +0100
     1.2 +++ b/src/mesh.h	Sat Aug 07 03:36:36 2010 +0100
     1.3 @@ -35,8 +35,12 @@
     1.4  	std::vector<Material> matlib;
     1.5  
     1.6  	bool add_mesh(Mesh *m);
     1.7 +	int get_num_meshes() const;
     1.8 +	int get_num_materials() const;
     1.9 +	int get_num_faces() const;
    1.10  
    1.11 -	int get_num_faces() const;
    1.12 +	Material *get_materials();
    1.13 +	const Material *get_materials() const;
    1.14  
    1.15  	bool load(const char *fname);
    1.16  	bool load(FILE *fp);