summaryrefslogtreecommitdiff
path: root/src/renderer
diff options
context:
space:
mode:
authoromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-04-04 20:54:45 +1100
committeromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-04-04 20:54:45 +1100
commitaf97c4330a27a92d2362e30b70990e3aa5c9954a (patch)
treea21359f3f4e8cc4efe9288288a59e55c6ced5d7d /src/renderer
parentbb889d2edc1cc72b939edf47a2e03b7569c1a722 (diff)
add AnimatedCube
Diffstat (limited to 'src/renderer')
-rw-r--r--src/renderer/backends/backend_opengl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/renderer/backends/backend_opengl.c b/src/renderer/backends/backend_opengl.c
index e3a4fb6..8df0933 100644
--- a/src/renderer/backends/backend_opengl.c
+++ b/src/renderer/backends/backend_opengl.c
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include "camera.h"
#define CEL_PLATFORM_LINUX
#include "defines.h"
@@ -40,6 +41,11 @@ bool gfx_backend_init(renderer *ren) {
return true;
}
+
+void gfx_backend_draw_frame(renderer* ren, camera* cam, mat4 model, texture* tex) {
+
+}
+
void gfx_backend_shutdown(renderer *ren) {}
void uniform_vec3f(u32 program_id, const char *uniform_name, vec3 *value) {