gba-trycatch

annotate 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
rev   line source
nuclear@12 1 #ifndef MESH_H_
nuclear@12 2 #define MESH_H_
nuclear@12 3
nuclear@12 4 #include <stdint.h>
nuclear@12 5 #include "x3d.h"
nuclear@12 6
nuclear@12 7 struct mesh {
nuclear@12 8 int prim;
nuclear@12 9
nuclear@12 10 int32_t *verts;
nuclear@13 11 int32_t *colors;
nuclear@12 12 int nverts;
nuclear@12 13 };
nuclear@12 14
nuclear@12 15 void init_mesh(struct mesh *m);
nuclear@12 16 void destroy_mesh(struct mesh *m);
nuclear@12 17
nuclear@12 18 void draw_mesh(struct mesh *m);
nuclear@12 19
nuclear@12 20 #endif /* MESH_H_ */