gba-x3dtest

view src/mesh.h @ 20:2e903e27e35a

fixed x3d_disable_texture added runtime teture checks in the rasterizer
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 01 Jul 2014 23:23:37 +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_ */