gba-x3dtest

view src/polyfill.h @ 20:2e903e27e35a

fixed x3d_disable_texture added runtime teture checks in the rasterizer
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 01 Jul 2014 23:23:37 +0300
parents b755fb002f17
children
line source
1 #ifndef POLYFILL_H_
2 #define POLYFILL_H_
4 #include <stdint.h>
5 #include "x3d_impl.h"
7 typedef struct pvec3 {
8 int32_t x, y, z;
9 } pvec3;
11 typedef struct pvec2 {
12 int32_t x, y;
13 } pvec2;
15 void draw_poly(int num, const pvec3 *verts, const pvec2 *texcoords, uint16_t color,
16 struct texture *tex);
18 void draw_point(const pvec3 *v, uint16_t color);
20 #endif /* POLYFILL_H_ */