aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-01-31 22:34:30 +0000
committerrodri <rgl@antares-labs.eu>2024-01-31 22:34:30 +0000
commit5a97a65584a9bdd97cd3399beff59c5ea5d9d4a9 (patch)
tree91f0fc718c0873e3fc874f183f2b63bc538da1f9 /internal.h
parentfeecec6c4d7f3798c2298cd6c68b06d77eab719d (diff)
downloadlibgraphics-5a97a65584a9bdd97cd3399beff59c5ea5d9d4a9.tar.gz
libgraphics-5a97a65584a9bdd97cd3399beff59c5ea5d9d4a9.tar.bz2
libgraphics-5a97a65584a9bdd97cd3399beff59c5ea5d9d4a9.zip
improve coordinate transformations and fix projections.
also got rid of Deco. there's no point in having that, just deal with image(6) files.
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/internal.h b/internal.h
index a6b7a96..6abb115 100644
--- a/internal.h
+++ b/internal.h
@@ -1,11 +1,3 @@
-typedef struct Deco Deco;
-struct Deco
-{
- int pfd[2];
- int infd;
- char *prog;
-};
-
/* alloc */
void *emalloc(ulong);
void *erealloc(void*, ulong);
@@ -18,7 +10,7 @@ Framebufctl *mkfbctl(Rectangle);
void rmfbctl(Framebufctl*);
/* render */
-void shade(Framebuf *fb, OBJ *model, Memimage *modeltex, Shader *s, ulong nprocs);
+void shade(Framebuf*, OBJ*, Memimage*, Shader*, ulong);
/* util */
int min(int, int);