16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 20:39:18 +02:00

milek7/sim branch opengl 3.3 renderer import

This commit is contained in:
tmj-fstate
2019-10-26 15:17:09 +02:00
parent d24fccb4d7
commit 0fd23a53d9
90 changed files with 7629 additions and 549 deletions

View File

@@ -18,11 +18,13 @@ http://mozilla.org/MPL/2.0/.
#include "sound.h"
class opengl_renderer;
class opengl33_renderer;
// wrapper for environment elements -- sky, sun, stars, clouds etc
class world_environment {
friend opengl_renderer;
friend opengl33_renderer;
public:
// methods
@@ -43,6 +45,9 @@ public:
inline auto &
skydome() {
return m_skydome; }
inline auto const &
precipitation() const {
return m_precipitation; }
inline auto const &
wind() const {
return m_wind.vector; }