labyrinth

view src/objfile.h @ 1:d46f0947a96d

added helpful comment
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 06 Feb 2015 00:34:04 +0200
parents
children
line source
1 #ifndef OBJFILE_H_
2 #define OBJFILE_H_
4 struct objfile;
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 struct objfile *objf_load(const char *fname);
11 void objf_free(struct objfile *obj);
13 int objf_vertex_count(struct objfile *obj);
14 int objf_face_count(struct objfile *obj);
16 float *objf_vertices(struct objfile *obj);
17 float *objf_normals(struct objfile *obj);
18 float *objf_texcoords(struct objfile *obj);
20 float *objf_vertex(struct objfile *obj, int idx);
21 float *objf_normal(struct objfile *obj, int idx);
22 float *objf_texcoord(struct objfile *obj, int idx);
25 #ifdef __cplusplus
26 }
27 #endif
29 #endif /* OBJFILE_H_ */