From 87a47aead498d4f7c360d64efc632bcf1a533751 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 00:13:18 +1000 Subject: chore: fmt and lint --- src/render/render.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/render/render.h') 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(); -- cgit v1.2.3-70-g09d2