summaryrefslogtreecommitdiffhomepage
path: root/src/render.h
diff options
context:
space:
mode:
authorarngo <[email protected]>2024-05-16 21:00:51 -0400
committerarngo <[email protected]>2024-05-16 21:00:51 -0400
commit0e1c3d42a93f623f60284f7e9acfd014e41ddadc (patch)
tree701cd9cef7e0e7210dba9ac77e2bad9a87b8c5e9 /src/render.h
parent21ab7c1df0b8a0fcbb1d10ed2e61410d7f7021e0 (diff)
downloadtojam2024-textures.tar.gz
tojam2024-textures.zip
loading and draw textures for skyboxtextures
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h
index 7e066c4..d1fe7ab 100644
--- a/src/render.h
+++ b/src/render.h
@@ -1,10 +1,18 @@
#ifndef GAME_RENDER_H
#define GAME_RENDER_H
+#include <GL/gl.h>
+#include <GL/glu.h>
#include "raylib.h"
#include "rlgl.h"
#include "world.h"
+GLuint
+customLoadTextureN64(char *spritePath);
+
+void
+renderSkybox(GLuint *textures, int m, int n, Camera3D camera);
+
void
renderWorld(World* world, Camera camera);