gba-trycatch

diff src/polyfill.h @ 15:b755fb002f17

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 25 Jun 2014 17:02:48 +0300
parents fb0a0d6a8b52
children
line diff
     1.1 --- a/src/polyfill.h	Mon Jun 23 10:33:24 2014 +0300
     1.2 +++ b/src/polyfill.h	Wed Jun 25 17:02:48 2014 +0300
     1.3 @@ -7,7 +7,11 @@
     1.4  	int32_t x, y, z;
     1.5  } pvec3;
     1.6  
     1.7 -void draw_poly(int num, const pvec3 *verts, uint16_t color);
     1.8 +typedef struct pvec2 {
     1.9 +	int32_t x, y;
    1.10 +} pvec2;
    1.11 +
    1.12 +void draw_poly(int num, const pvec3 *verts, const pvec2 *tex, uint16_t color);
    1.13  
    1.14  void draw_point(const pvec3 *v, uint16_t color);
    1.15