summaryrefslogtreecommitdiff
path: root/src/systems/terrain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/terrain.c')
-rw-r--r--src/systems/terrain.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/systems/terrain.c b/src/systems/terrain.c
index a8e8b48..1d23cc3 100644
--- a/src/systems/terrain.c
+++ b/src/systems/terrain.c
@@ -1,30 +1,19 @@
/**
- * @file terrain.c
- * @author your name (you@domain.com)
* @brief
- * @version 0.1
- * @date 2024-06-22
- *
- * @copyright Copyright (c) 2024
- *
*/
#include "terrain.h"
#include "ral.h"
struct Terrain_Storage {
arena terrain_allocator;
- heightmap* heightmap; // NULL = no heightmap
+ Heightmap* heightmap; // NULL = no heightmap
GPU_Renderpass* hmap_renderpass;
GPU_Pipeline* hmap_pipeline;
};
-PUB bool Terrain_Init(Terrain_Storage* storage) {
-
- return true;
-}
+PUB bool Terrain_Init(Terrain_Storage* storage) { return true; }
PUB void Terrain_Shutdown(Terrain_Storage* storage);
-
/* bool terrain_system_init(terrain_state* state) { */
/* gpu_renderpass_desc rpass_desc = { */
/* .default_framebuffer = true, */