Expand description
Shared terrain types used across submodules.
This module defines the core data structures shared between the terrain submodules to avoid circular imports.
Structs§
- Chunk
Bounds - World-space AABB of a chunk.
- Chunk
Coord - Grid coordinate for a terrain chunk. (chunk_x, chunk_z) in chunk-space.
- Chunk
Grid - A 2D grid of chunk coordinates within a rectangular region.
- Chunk
Handle - A lightweight reference-counted handle to a chunk (for use outside the cache).
- Terrain
Chunk - A single terrain chunk: one tile of the infinite world grid.
- Terrain
Config - Top-level configuration for the terrain system.
- Terrain
Region - Describes a named rectangular region of the world.
- World
Seed - A structured seed for reproducible world generation.
Enums§
- Chunk
State - Current lifecycle state of a terrain chunk.