X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpolyfill.h;h=88166cfb818a6e9940ccc3fd7f1d7c906c6a47fd;hb=c702b53199b0daae33e67b0d398b460995cd374e;hp=d63704635c1f6f0becebb8ced322a72bf8001e4c;hpb=9123da2ff9583baa8a221deceb23436fcbfea7d9;p=gba_blender diff --git a/src/polyfill.h b/src/polyfill.h index d637046..88166cf 100644 --- a/src/polyfill.h +++ b/src/polyfill.h @@ -27,4 +27,7 @@ struct pvertex { void polyfill_framebuffer(unsigned char *fb, int width, int height); void polyfill_flat(struct pvertex *v, int vnum, unsigned char col); +int clip_line(int *x0, int *y0, int *x1, int *y1, int xmin, int ymin, int xmax, int ymax); +void draw_line(int x0, int y0, int x1, int y1, unsigned short color); + #endif /* POLYFILL_H_ */