gba-trycatch

view src/mesh.h @ 14:c398d834d64a

fixed the rendering bugs
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Jun 2014 10:33:24 +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_ */