From dc8952e6650aae6297915bf118e1f7b1259d235d Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 20 Jul 2024 21:17:46 +1000 Subject: fixing shadows. --- src/new_render/render.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/new_render/render.h') diff --git a/src/new_render/render.h b/src/new_render/render.h index 52aecfc..0231975 100644 --- a/src/new_render/render.h +++ b/src/new_render/render.h @@ -7,6 +7,7 @@ #include "maths_types.h" #include "ral_types.h" #include "render_types.h" +#include "shadows.h" typedef struct Renderer Renderer; typedef struct GLFWwindow GLFWwindow; @@ -67,4 +68,10 @@ PUB void DrawMesh(Mesh* mesh, Material* material, Mat4 model); PUB void Render_DrawTerrain(); // --- Getters (not in love with this but I'm finding keeping Renderer internals private to be okay) -arena* GetRenderFrameArena(Renderer* r); \ No newline at end of file +arena* GetRenderFrameArena(Renderer* r); + +typedef struct Shadow_Storage Shadow_Storage; +typedef struct RenderScene RenderScene; + +RenderScene* Render_GetScene(); +Shadow_Storage* Render_GetShadowStorage(); \ No newline at end of file -- cgit v1.2.3-70-g09d2