rayzor

view src/lines.h @ 16:4d87b0aafbb0

forgot to add the redblack tree
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Apr 2014 09:54:51 +0300
parents
children
line source
1 #ifndef LINES_H_
2 #define LINES_H_
4 #include "inttypes.h"
6 int clip_line2d(int *x0, int *y0, int *x1, int *y1, const int *vp);
7 void draw_line(uint32_t *fb, int fbwidth, uint32_t col, int x0, int y0, int x1, int y1);
9 #endif /* LINES_H_ */