gba-trycatch

diff src/mesh.h @ 12:ecc022a21279

more tuff
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Jun 2014 06:44:04 +0300
parents
children 2070a81127f2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/mesh.h	Mon Jun 23 06:44:04 2014 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef MESH_H_
     1.5 +#define MESH_H_
     1.6 +
     1.7 +#include <stdint.h>
     1.8 +#include "x3d.h"
     1.9 +
    1.10 +struct mesh {
    1.11 +	int prim;
    1.12 +
    1.13 +	int32_t *verts;
    1.14 +	int nverts;
    1.15 +};
    1.16 +
    1.17 +void init_mesh(struct mesh *m);
    1.18 +void destroy_mesh(struct mesh *m);
    1.19 +
    1.20 +void draw_mesh(struct mesh *m);
    1.21 +
    1.22 +#endif	/* MESH_H_ */