gba-trycatch
annotate 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 |
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@12 | 11 int nverts; |
nuclear@12 | 12 }; |
nuclear@12 | 13 |
nuclear@12 | 14 void init_mesh(struct mesh *m); |
nuclear@12 | 15 void destroy_mesh(struct mesh *m); |
nuclear@12 | 16 |
nuclear@12 | 17 void draw_mesh(struct mesh *m); |
nuclear@12 | 18 |
nuclear@12 | 19 #endif /* MESH_H_ */ |