projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sucks, maybe I should try integer rasterization with error accumulation...
[dosdemo]
/
src
/
polyfill.h
diff --git
a/src/polyfill.h
b/src/polyfill.h
index
57f0dc4
..
b39574a
100644
(file)
--- a/
src/polyfill.h
+++ b/
src/polyfill.h
@@
-18,7
+18,16
@@
struct pvertex {
unsigned char r, g, b;
};
unsigned char r, g, b;
};
+struct pimage {
+ uint16_t *pixels;
+ int width, height;
+};
+
+extern struct pimage pimg_fb;
+extern struct pimage pimg_texture;
+
void polyfill(int mode, struct pvertex *verts, int nverts);
void polyfill_wire(struct pvertex *verts, int nverts);
void polyfill(int mode, struct pvertex *verts, int nverts);
void polyfill_wire(struct pvertex *verts, int nverts);
+void polyfill_flat(struct pvertex *verts, int nverts);
#endif /* POLYFILL_H_ */
#endif /* POLYFILL_H_ */