summaryrefslogtreecommitdiff
path: root/src/systems
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/systems
parent5359c011a08ef2e06ed54104cc16c32868ca88ff (diff)
chore clang format + tidy
Diffstat (limited to 'src/systems')
-rw-r--r--src/systems/input.h2
-rw-r--r--src/systems/terrain.h5
2 files changed, 4 insertions, 3 deletions
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