From 82515f9d90ac149984013f0d64c1cab37b349b29 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:33:34 +1000 Subject: chore clang format + tidy --- src/systems/input.h | 2 +- src/systems/terrain.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/systems') diff --git a/src/systems/input.h b/src/systems/input.h index 11c40ea..f928ed1 100644 --- a/src/systems/input.h +++ b/src/systems/input.h @@ -39,4 +39,4 @@ bool key_just_released(keycode key); bool Input_Init(Input_State *input, struct GLFWwindow *window); void Input_Shutdown(Input_State *input); -void Input_Update(Input_State *state); // must be run once per main loop +void Input_Update(Input_State *state); // must be run once per main loop diff --git a/src/systems/terrain.h b/src/systems/terrain.h index 4e709ed..2d6ff4a 100644 --- a/src/systems/terrain.h +++ b/src/systems/terrain.h @@ -30,14 +30,15 @@ typedef struct Terrain_Storage Terrain_Storage; // --- Public API PUB bool Terrain_Init(Terrain_Storage* storage); PUB void Terrain_Shutdown(Terrain_Storage* storage); -PUB void Terrain_Draw(Terrain_Storage* storage); // NOTE: For now it renders directly to main framebuffer +PUB void Terrain_Draw( + Terrain_Storage* storage); // NOTE: For now it renders directly to main framebuffer /** @brief Sets the active heightmap to be rendered and collided against. */ PUB void Terrain_LoadHeightmap(Heightmap hmap, bool free_on_upload); PUB Heightmap Heightmap_FromImage(Str8 filepath); PUB Heightmap Heightmap_FromPerlin(/* TODO: perlin noise generation parameters */); -PUB bool Terrain_IsActive(); // checks whether we have a loaded heightmap and it's being rendered +PUB bool Terrain_IsActive(); // checks whether we have a loaded heightmap and it's being rendered // --- Internal -- cgit v1.2.3-70-g09d2