20 extern unsigned char *g3d_fbpixels;
21 extern int g3d_width, g3d_height;
22 extern int g3d_curcidx;
26 void g3d_shutdown(void);
28 void g3d_framebuffer(int width, int height, void *fb);
30 void g3d_modelview(const int32_t *m);
31 void g3d_projection(const int32_t *m);
33 void g3d_xform(struct g3d_vertex *v, const int32_t *m);
35 void g3d_color(int cidx);
37 void g3d_draw(int prim, struct g3d_vertex *varr, int vcount);
38 void g3d_draw_prim(int prim, struct g3d_vertex *varr);
40 /* defined in polyfill.asm */
41 void g3d_polyfill(struct g3d_vertex *verts);