mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-23 01:39:19 +02:00
completed basic separation of visual renderer from simulation
This commit is contained in:
9
stars.h
9
stars.h
@@ -8,13 +8,16 @@
|
||||
|
||||
class cStars {
|
||||
|
||||
friend class opengl_renderer;
|
||||
|
||||
public:
|
||||
// types:
|
||||
|
||||
// methods:
|
||||
void init();
|
||||
void render();
|
||||
|
||||
#ifdef EU07_USE_OLD_RENDERCODE
|
||||
void render();
|
||||
#endif
|
||||
// constructors:
|
||||
|
||||
// deconstructor:
|
||||
@@ -29,5 +32,5 @@ private:
|
||||
// members:
|
||||
float m_longitude{ 19.0f }; // geograpic coordinates hardcoded roughly to Poland location, for the time being
|
||||
float m_latitude{ 52.0f };
|
||||
TModel3d m_stars;
|
||||
TModel3d *m_stars { nullptr };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user