mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 11:19:19 +02:00
refactoring: skydome visualization code extraction
This commit is contained in:
@@ -37,10 +37,16 @@ public:
|
||||
// calculates current weather
|
||||
void compute_weather() const;
|
||||
// data access
|
||||
glm::vec3 const &
|
||||
inline auto const &
|
||||
skydome() const {
|
||||
return m_skydome; }
|
||||
inline auto &
|
||||
skydome() {
|
||||
return m_skydome; }
|
||||
inline auto const &
|
||||
wind() const {
|
||||
return m_wind.vector; }
|
||||
float const &
|
||||
inline auto const &
|
||||
wind_azimuth() const {
|
||||
return m_wind.azimuth; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user