diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-12 12:47:07 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-12 12:47:07 +1000 |
commit | f74cf52946f4e569a26bc81105537b40be95c2c7 (patch) | |
tree | 1d000367350d0e28eb7cfbc800286a0ed30a4e6c /src/systems/terrain.c | |
parent | fedba7ff68924ff50022405fc9103a5acf7013fe (diff) |
wip: big makeover
Diffstat (limited to 'src/systems/terrain.c')
-rw-r--r-- | src/systems/terrain.c | 15 |
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, */ |