gba-x3dtest

view src/mesh.h @ 13:2070a81127f2

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Jun 2014 08:28:28 +0300
parents ecc022a21279
children b755fb002f17
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 int32_t *colors;
12 int nverts;
13 };
15 void init_mesh(struct mesh *m);
16 void destroy_mesh(struct mesh *m);
18 void draw_mesh(struct mesh *m);
20 #endif /* MESH_H_ */