gba-x3dtest
view src/mesh.h @ 19:62390f9cc93e
texture cache optimization failed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 30 Jun 2014 09:07:41 +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_ */