mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 02:29:17 +02:00
completed basic separation of visual renderer from simulation
This commit is contained in:
16
sky.h
16
sky.h
@@ -12,16 +12,18 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#include "Model3d.h"
|
||||
|
||||
class TSky
|
||||
{
|
||||
private:
|
||||
TModel3d *mdCloud;
|
||||
class TSky {
|
||||
|
||||
public:
|
||||
TSky();
|
||||
~TSky();
|
||||
friend class opengl_renderer;
|
||||
|
||||
private:
|
||||
TModel3d *mdCloud { nullptr };
|
||||
|
||||
public:
|
||||
void Init();
|
||||
#ifdef EU07_USE_OLD_RENDERCODE
|
||||
void Render( glm::vec3 const &Tint = glm::vec3(1.0f, 1.0f, 1.0f) );
|
||||
#endif
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user