6 #include <gmath/gmath.h>
19 #define NUM_MTL_TEXTURES MTL_TEX_UNKNOWN
24 Vec3 diffuse, specular;
31 Texture *stdtex[NUM_MTL_TEXTURES];
32 std::vector<Texture*> textures;
37 void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN);
38 void remove_texture(Texture *tex);
41 // returns MTL_TEX_whatever by name
42 int mtl_parse_type(const char *str);
43 // returns the name of a material type
44 const char *mtl_type_string(int type);