Files
maszyna/stars.h
2017-08-21 18:32:34 +02:00

34 lines
579 B
C++

#pragma once
#include "Model3d.h"
//////////////////////////////////////////////////////////////////////////////////////////
// cStars -- simple starfield model, simulating appearance of starry sky
class cStars {
friend class opengl_renderer;
public:
// types:
// methods:
void init();
// constructors:
// 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 };
};