Module weather

Source

Structs§

CompressedWeather
Weather that’s compressed in order to send it to the client.
SharedWeatherGrid
Weather
Weather::default is Clear, 0 degrees C and no wind
WeatherGrid

Enums§

WeatherKind

Constants§

CELL_SIZE
CHUNKS_PER_CELL
LOCALITY 🔒

Functions§

to_cell_pos 🔒
Transforms a world position to cell coordinates. Where (0.0, 0.0) in cell coordinates is the center of the weather cell located at (0, 0) in the grid.