gba-x3dtest

diff src/x3d.h @ 8:fb0a0d6a8b52

sortof works
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 19 Jun 2014 05:53:46 +0300
parents 158d23956801
children b0ed38f13261
line diff
     1.1 --- a/src/x3d.h	Wed Jun 18 06:20:07 2014 +0300
     1.2 +++ b/src/x3d.h	Thu Jun 19 05:53:46 2014 +0300
     1.3 @@ -21,8 +21,10 @@
     1.4  void x3d_rotate(int32_t angle, int32_t x, int32_t y, int32_t z);
     1.5  void x3d_scale(int32_t x, int32_t y, int32_t z);
     1.6  
     1.7 -void x3d_vertex_array(int count, int32_t *ptr);
     1.8 -void x3d_color_array(int count, int32_t *ptr);
     1.9 -int x3d_draw_arrays(int prim);
    1.10 +void x3d_vertex_array(int count, const int32_t *ptr);
    1.11 +void x3d_color_array(int count, const int32_t *ptr);
    1.12 +int x3d_draw_arrays(int prim, int vnum);
    1.13 +
    1.14 +void x3d_color(int32_t r, int32_t g, int32_t b);
    1.15  
    1.16  #endif	/* X3D_H_ */