gba-trycatch

annotate 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
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@15 10 typedef struct pvec2 {
nuclear@15 11 int32_t x, y;
nuclear@15 12 } pvec2;
nuclear@15 13
nuclear@15 14 void draw_poly(int num, const pvec3 *verts, const pvec2 *tex, uint16_t color);
nuclear@5 15
nuclear@8 16 void draw_point(const pvec3 *v, uint16_t color);
nuclear@8 17
nuclear@5 18 #endif /* POLYFILL_H_ */