gba-trycatch

annotate src/mesh.h @ 15:b755fb002f17

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 25 Jun 2014 17:02:48 +0300
parents 2070a81127f2
children
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@15 12 int32_t *texcoords;
nuclear@12 13 int nverts;
nuclear@12 14 };
nuclear@12 15
nuclear@12 16 void init_mesh(struct mesh *m);
nuclear@12 17 void destroy_mesh(struct mesh *m);
nuclear@12 18
nuclear@12 19 void draw_mesh(struct mesh *m);
nuclear@12 20
nuclear@12 21 #endif /* MESH_H_ */