X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpolyfill.h;h=86c794739e8649d9f7a119d2efc1227eb94c4cfe;hb=HEAD;hp=57f0dc46624887634a83baa714b7994fb118e596;hpb=921c229affb2b1da97d7be21d5c86ad045a6fcc3;p=dosdemo diff --git a/src/polyfill.h b/src/polyfill.h deleted file mode 100644 index 57f0dc4..0000000 --- a/src/polyfill.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef POLYFILL_H_ -#define POLYFILL_H_ - -#include "inttypes.h" - -enum { - POLYFILL_WIRE, - POLYFILL_FLAT, - POLYFILL_GOURAUD, - POLYFILL_TEX, - POLYFILL_TEX_GOURAUD -}; - -/* projected vertices for the rasterizer */ -struct pvertex { - int32_t x, y; /* 24.8 fixed point */ - int32_t u, v; /* 16.16 fixed point */ - unsigned char r, g, b; -}; - -void polyfill(int mode, struct pvertex *verts, int nverts); -void polyfill_wire(struct pvertex *verts, int nverts); - -#endif /* POLYFILL_H_ */