gba-trycatch
annotate src/polyfill.h @ 8:fb0a0d6a8b52
sortof works
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 19 Jun 2014 05:53:46 +0300 |
parents | 850be43b3135 |
children | b755fb002f17 |
rev | line source |
---|---|
nuclear@5 | 1 #ifndef POLYFILL_H_ |
nuclear@5 | 2 #define POLYFILL_H_ |
nuclear@5 | 3 |
nuclear@5 | 4 #include <stdint.h> |
nuclear@5 | 5 |
nuclear@5 | 6 typedef struct pvec3 { |
nuclear@5 | 7 int32_t x, y, z; |
nuclear@5 | 8 } pvec3; |
nuclear@5 | 9 |
nuclear@5 | 10 void draw_poly(int num, const pvec3 *verts, uint16_t color); |
nuclear@5 | 11 |
nuclear@8 | 12 void draw_point(const pvec3 *v, uint16_t color); |
nuclear@8 | 13 |
nuclear@5 | 14 #endif /* POLYFILL_H_ */ |