projects
/
gba_blender
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grid axes
[gba_blender]
/
src
/
polyfill.h
diff --git
a/src/polyfill.h
b/src/polyfill.h
index
d637046
..
88166cf
100644
(file)
--- 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);
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_ */
#endif /* POLYFILL_H_ */