Skip to main content

Module mod_types

Module mod_types 

Source
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§

ChunkBounds
World-space AABB of a chunk.
ChunkCoord
Grid coordinate for a terrain chunk. (chunk_x, chunk_z) in chunk-space.
ChunkGrid
A 2D grid of chunk coordinates within a rectangular region.
ChunkHandle
A lightweight reference-counted handle to a chunk (for use outside the cache).
TerrainChunk
A single terrain chunk: one tile of the infinite world grid.
TerrainConfig
Top-level configuration for the terrain system.
TerrainRegion
Describes a named rectangular region of the world.
WorldSeed
A structured seed for reproducible world generation.

Enums§

ChunkState
Current lifecycle state of a terrain chunk.