20 #ifndef ANTKEEPER_GAME_ATMOSPHERE_SYSTEM_HPP
21 #define ANTKEEPER_GAME_ATMOSPHERE_SYSTEM_HPP
39 virtual void update(
float t,
float dt);
59 void update_sky_pass();
65 entity::id m_active_atmosphere_eid{entt::null};
Updates variables related to atmospheric scattering.
void set_rgb_wavelengths(const math::dvec3 &wavelengths)
Sets the wavelengths of red, green, and blue light.
void set_active_atmosphere(entity::id entity_id)
Sets the entity ID of the active atmosphere.
atmosphere_system(entity::registry ®istry)
virtual void update(float t, float dt)
Perform's a system's update() function.
void set_sky_pass(::render::sky_pass *pass)
Abstract base class for updatable systems.
entity::registry & registry
Registry on which the system operate.
entt::registry registry
Component registry type.
entt::entity id
Entity ID type.