gba-x3dtest
diff src/x3d.h @ 12:ecc022a21279
more tuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 23 Jun 2014 06:44:04 +0300 |
parents | b0ed38f13261 |
children | b755fb002f17 |
line diff
1.1 --- a/src/x3d.h Sun Jun 22 07:54:29 2014 +0300 1.2 +++ b/src/x3d.h Mon Jun 23 06:44:04 2014 +0300 1.3 @@ -10,7 +10,7 @@ 1.4 X3D_QUADS = 4 1.5 }; 1.6 1.7 -void x3d_projection(int32_t fov, int32_t aspect, int32_t nearz, int32_t farz); 1.8 +void x3d_projection(int fov, int32_t aspect, int32_t nearz, int32_t farz); 1.9 1.10 int x3d_push_matrix(void); 1.11 int x3d_pop_matrix(void); 1.12 @@ -23,7 +23,9 @@ 1.13 1.14 void x3d_vertex_array(int count, const int32_t *ptr); 1.15 void x3d_color_array(int count, const int32_t *ptr); 1.16 -int x3d_draw_arrays(int prim, int vnum); 1.17 + 1.18 +int x3d_draw(int prim, int vnum); 1.19 +int x3d_draw_indexed(int prim, int count, uint16_t *ptr); 1.20 1.21 void x3d_color_index(int cidx); 1.22 void x3d_color(int32_t r, int32_t g, int32_t b);