gba-x3dtest

view src/mesh.h @ 12:ecc022a21279

more tuff
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Jun 2014 06:44:04 +0300
parents
children 2070a81127f2
line source
1 #ifndef MESH_H_
2 #define MESH_H_
4 #include <stdint.h>
5 #include "x3d.h"
7 struct mesh {
8 int prim;
10 int32_t *verts;
11 int nverts;
12 };
14 void init_mesh(struct mesh *m);
15 void destroy_mesh(struct mesh *m);
17 void draw_mesh(struct mesh *m);
19 #endif /* MESH_H_ */