gba-x3dtest

view 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
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 int32_t *texcoords;
13 int nverts;
14 };
16 void init_mesh(struct mesh *m);
17 void destroy_mesh(struct mesh *m);
19 void draw_mesh(struct mesh *m);
21 #endif /* MESH_H_ */