diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-20 21:17:46 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-20 21:17:46 +1000 |
commit | dc8952e6650aae6297915bf118e1f7b1259d235d (patch) | |
tree | 98ef132262fa0e01c7df5cac7f73c825a65d09ed /src/new_render/render.h | |
parent | 58a748dcd77d0caacc9d6ef7a7e7e073ac849ad3 (diff) |
fixing shadows.
Diffstat (limited to 'src/new_render/render.h')
-rw-r--r-- | src/new_render/render.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 |