1#ifndef NANOMMO_CLIENT_SKY_H_
2#define NANOMMO_CLIENT_SKY_H_
25 static constexpr Vector2
kWind = {2.5f, 1.0f};
38 void Gather(uint32_t seed);
47 void Shade(Shader shader,
const Camera3D& camera,
48 const Atmosphere& atmosphere,
float seconds)
const;
63 std::vector<Puff> puffs;
68 Vector2 Blown(
const Cloud& cloud,
const Camera3D& camera,
71 std::vector<Cloud> clouds_;
Sky & operator=(const Sky &)=delete
void Shade(Shader shader, const Camera3D &camera, const Atmosphere &atmosphere, float seconds) const
static constexpr Vector2 kWind
In metres a second, which way the wind blows the clouds.
static constexpr int kClouds
The most clouds a land has, all of them on a cloudy day.
static constexpr float kSpread
void Gather(uint32_t seed)
static constexpr int kShadows
void Draw(const Camera3D &camera, const Atmosphere &atmosphere, float seconds) const
The sky and the light, which the shaders read each frame.