gba-trycatch

view 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 source
1 #ifndef POLYFILL_H_
2 #define POLYFILL_H_
4 #include <stdint.h>
6 typedef struct pvec3 {
7 int32_t x, y, z;
8 } pvec3;
10 typedef struct pvec2 {
11 int32_t x, y;
12 } pvec2;
14 void draw_poly(int num, const pvec3 *verts, const pvec2 *tex, uint16_t color);
16 void draw_point(const pvec3 *v, uint16_t color);
18 #endif /* POLYFILL_H_ */