21 #ifndef _ATMOSTPHERE_HPP_
22 #define _ATMOSTPHERE_HPP_
24 #include "Skylight.hpp"
25 #include "VecMath.hpp"
27 #include "renderer/StelIndexBuffer.hpp"
28 #include "renderer/StelVertexBuffer.hpp"
29 #include "Skybright.hpp"
30 #include "StelFader.hpp"
31 #include "StelProjector.hpp"
51 float eclipseFac,
float latitude = 45.f,
float altitude = 200.f,
52 float temperature = 15.f,
float relativeHumidity = 40.f);
54 void update(
double deltaTime) {fader.update((
int)(deltaTime*1000));}
71 float getFadeIntensity(
void)
const {
return fader.getInterstate();}
90 Vertex(
const Vec2f position,
const Vec4f& color) : position(position), color(color) {}
97 int skyResolutionY, skyResolutionX;
100 float averageLuminance;
103 float lightPollutionLuminance;
112 QVector<StelIndexBuffer*> rowIndices;
134 #endif // _ATMOSTPHERE_HPP_