labyrinth
view src/mesh.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 MESH_H_
2 #define MESH_H_
4 struct vec3 {
5 float x, y, z;
6 };
8 struct mesh {
9 struct vec3 *vert, *norm, *tc;
10 int num_verts;
11 };
13 struct mesh *load_mesh(const char *fname);
14 void free_mesh(struct mesh *m);
16 void render_mesh(struct mesh *m);
18 #endif /* MESH_H_ */