labyrinth
view src/mesh.h @ 7:b557812c45db
generating the android (ant) project stuff from the makefile
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 04 May 2015 02:46:35 +0300 |
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_ */