foo
[vrlugburz] / src / scenefile.h
1 #ifndef SCENEFILE_H_
2 #define SCENEFILE_H_
3
4 #include "mesh.h"
5
6 struct scenefile {
7         char *fname;
8
9         struct mesh *meshlist;
10         int num_meshes;
11
12         struct material *mtllist;
13         int num_mtl;
14 };
15
16 int load_scenefile(struct scenefile *scn, const char *fname);
17 void destroy_scenefile(struct scenefile *scn);
18
19 struct mesh *find_mesh_prefix(struct scenefile *scn, const char *prefix);
20
21 #endif  /* SCENEFILE_H_ */