summaryrefslogtreecommitdiff
path: root/src/render/render.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 00:13:18 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 00:13:18 +1000
commit87a47aead498d4f7c360d64efc632bcf1a533751 (patch)
tree7b39d6abcd6d39d76ecaacc0352ad685783a00c7 /src/render/render.h
parent7bd1560cf2b49018a842fb42cda2c17b347957aa (diff)
chore: fmt and lint
Diffstat (limited to 'src/render/render.h')
-rw-r--r--src/render/render.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/render/render.h b/src/render/render.h
index 0aee51c..5dc3853 100644
--- a/src/render/render.h
+++ b/src/render/render.h
@@ -3,13 +3,13 @@
*/
#pragma once
+#include "camera.h"
#include "defines.h"
#include "grid.h"
#include "maths_types.h"
#include "ral_types.h"
#include "render_types.h"
#include "shadows.h"
-#include "camera.h"
typedef struct Renderer Renderer;
typedef struct GLFWwindow GLFWwindow;
@@ -78,7 +78,8 @@ MeshHandle Mesh_Insert(Mesh* mesh);
MaterialHandle Material_Insert(Material* material);
/** @brief gets render entities from a model and pushes them into a dynamic array for rendering */
-size_t ModelExtractRenderEnts(RenderEnt_darray* entities, ModelHandle model_handle, Mat4 affine, RenderEntityFlags flags);
+size_t ModelExtractRenderEnts(RenderEnt_darray* entities, ModelHandle model_handle, Mat4 affine,
+ RenderEntityFlags flags);
// --- Drawing
@@ -129,8 +130,9 @@ void Render_SetRenderMode(RenderMode mode);
// 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);
+// /** @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);
// Cull_Result Frame_Cull(Renderer* ren, RenderEnt* entities, size_t entity_count, Camera* camera) {
// // TODO: u32 chunk_count = Tpool_GetNumWorkers();