16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 17:09:19 +02:00

opengl 3.3 renderer integration, minor renderer tweaks

This commit is contained in:
tmj-fstate
2019-10-31 19:37:53 +01:00
parent 9dcaa1e339
commit ae3cecfa42
49 changed files with 1804 additions and 412 deletions

View File

@@ -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 };