diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-10 14:06:15 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-10 14:06:15 +1000 |
commit | 9cb4bfacc69b2a95ce8e9250afc33fb04d1ba548 (patch) | |
tree | fbe75da188ac83b34153ac79c367b9d57e0d5ff9 /src/new_render/render_frame.c | |
parent | 071a635e63536e50abfad7d5aeca1208dba58025 (diff) |
remove old code
Diffstat (limited to 'src/new_render/render_frame.c')
-rw-r--r-- | src/new_render/render_frame.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/new_render/render_frame.c b/src/new_render/render_frame.c deleted file mode 100644 index 87c99e5..0000000 --- a/src/new_render/render_frame.c +++ /dev/null @@ -1,20 +0,0 @@ - - -#include "render_frame.h" -#include <assert.h> -// #include "logos/threadpool.h" -#include "mem.h" -#include "render.h" - -Cull_Result Frame_Cull(Renderer* ren, RenderEnt* entities, size_t entity_count, Camera* camera) { - // TODO: u32 chunk_count = Tpool_GetNumWorkers(); - - arena* frame_arena = GetRenderFrameArena(ren); - - Cull_Result result = { 0 }; - result.visible_ent_indices = arena_alloc( - frame_arena, sizeof(u32) * entity_count); // make space for if all ents are visible - - assert((result.n_visible_objects + result.n_culled_objects == entity_count)); - return result; -}
\ No newline at end of file |