Files
enter_the_fog/source_code/terrain_module/terrain/terrain.h
2026-03-26 14:46:39 -05:00

17 lines
388 B
C

#ifndef terrain_h
#define terrain_h
struct chunk_struct;
struct chunk_position_struct;
#define grass_height -1
/**
* Iterates through every coordinate in a chunk, calculating terrain height
* and cave presence to populate the block data array.
*/
void generate_terrain(struct chunk_struct *chunk,
struct chunk_position_struct* chunks_world_position);
#endif