mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 14:49:19 +02:00
opengl 3.3 renderer integration, minor renderer tweaks
This commit is contained in:
@@ -39,6 +39,12 @@ public:
|
||||
// calculates current weather
|
||||
void compute_weather() const;
|
||||
// data access
|
||||
inline auto const &
|
||||
sun() const {
|
||||
return m_sun; }
|
||||
inline auto const &
|
||||
light_intensity() const {
|
||||
return m_lightintensity; }
|
||||
inline auto const &
|
||||
skydome() const {
|
||||
return m_skydome; }
|
||||
@@ -74,6 +80,7 @@ private:
|
||||
cStars m_stars;
|
||||
cSun m_sun;
|
||||
cMoon m_moon;
|
||||
float m_lightintensity { 1.f };
|
||||
TSky m_clouds;
|
||||
basic_precipitation m_precipitation;
|
||||
sound_source m_precipitationsound { sound_placement::external, -1 };
|
||||
|
||||
Reference in New Issue
Block a user