aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-02-13 16:40:31 +0000
committerrodri <rgl@antares-labs.eu>2024-02-13 16:40:31 +0000
commit5b93335dd430e09a71ebaba131826cd7db154cb4 (patch)
tree001f2c074d836ad2f31b8836be8443f1f18be327 /internal.h
parente90bf70b0d7167166a3c84e4f3e9277ce4a7e97a (diff)
downloadlibgraphics-5b93335dd430e09a71ebaba131826cd7db154cb4.tar.gz
libgraphics-5b93335dd430e09a71ebaba131826cd7db154cb4.tar.bz2
libgraphics-5b93335dd430e09a71ebaba131826cd7db154cb4.zip
lay out the grounds for a scene renderer.
also fixed an issue with cliptriangle() where an entire tri would get discarded if all its vertices were outside the frustum.
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 6abb115..0c66625 100644
--- a/internal.h
+++ b/internal.h
@@ -10,7 +10,7 @@ Framebufctl *mkfbctl(Rectangle);
void rmfbctl(Framebufctl*);
/* render */
-void shade(Framebuf*, OBJ*, Memimage*, Shader*, ulong);
+void shade(Framebuf*, Scene*, Shader*);
/* util */
int min(int, int);