summaryrefslogtreecommitdiff
path: root/src/new_render/render_frame.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 14:33:34 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 14:33:34 +1000
commit82515f9d90ac149984013f0d64c1cab37b349b29 (patch)
tree6da445874d055e3e66ab1825d4aa3bb784955fc9 /src/new_render/render_frame.h
parent5359c011a08ef2e06ed54104cc16c32868ca88ff (diff)
chore clang format + tidy
Diffstat (limited to 'src/new_render/render_frame.h')
-rw-r--r--src/new_render/render_frame.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_render/render_frame.h b/src/new_render/render_frame.h
index 11b24f2..02f7f22 100644
--- a/src/new_render/render_frame.h
+++ b/src/new_render/render_frame.h
@@ -14,7 +14,7 @@
typedef struct Cull_Result {
u64 n_visible_objects;
u64 n_culled_objects;
- u32* visible_ent_indices; // allocated on frame arena
+ u32* visible_ent_indices; // allocated on frame arena
size_t index_count;
} Cull_Result;
@@ -24,4 +24,4 @@ typedef void (*ExtractRenderData)(void* world_data);
typedef struct Renderer Renderer;
/** @brief Produces a smaller set of only those meshes visible in the camera frustum on the CPU */
-Cull_Result Frame_Cull(Renderer* ren, RenderEnt* entities, size_t entity_count, Camera *camera); \ No newline at end of file
+Cull_Result Frame_Cull(Renderer* ren, RenderEnt* entities, size_t entity_count, Camera* camera); \ No newline at end of file