diff options
author | rodri <rgl@antares-labs.eu> | 2024-01-31 22:34:30 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-01-31 22:34:30 +0000 |
commit | 5a97a65584a9bdd97cd3399beff59c5ea5d9d4a9 (patch) | |
tree | 91f0fc718c0873e3fc874f183f2b63bc538da1f9 /internal.h | |
parent | feecec6c4d7f3798c2298cd6c68b06d77eab719d (diff) | |
download | libgraphics-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.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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); |