mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
35 lines
626 B
C++
35 lines
626 B
C++
#pragma once
|
|
|
|
#include "Classes.h"
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////////////
|
|
// cStars -- simple starfield model, simulating appearance of starry sky
|
|
|
|
class cStars {
|
|
|
|
friend opengl_renderer;
|
|
friend opengl33_renderer;
|
|
|
|
public:
|
|
// types:
|
|
|
|
// methods:
|
|
void init();
|
|
// constructors:
|
|
cStars() = default;
|
|
// deconstructor:
|
|
|
|
// members:
|
|
|
|
private:
|
|
// types:
|
|
|
|
// methods:
|
|
|
|
// 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 { nullptr };
|
|
};
|