Atmosphere.hpp   Atmosphere.hpp 
skipping to change at line 45 skipping to change at line 45
//! Compute and display the daylight sky color using openGL. //! Compute and display the daylight sky color using openGL.
//! The sky brightness is computed with the SkyBright class, the color with the SkyLight. //! The sky brightness is computed with the SkyBright class, the color with the SkyLight.
//! Don't use this class directly but use it through the LandscapeMgr. //! Don't use this class directly but use it through the LandscapeMgr.
class Atmosphere class Atmosphere
{ {
public: public:
Atmosphere(); Atmosphere();
virtual ~Atmosphere(); virtual ~Atmosphere();
void computeColor(double JD, Vec3d _sunPos, Vec3d moonPos, float moo nPhase, StelCore* core, void computeColor(double JD, Vec3d _sunPos, Vec3d moonPos, float moo nPhase, float moonMagnitude, StelCore* core,
float latitude = 45.f, float altitude = 200.f, float latitude = 45.f, float altitude = 200.f,
float temperature = 15.f, float relativeHumidity = 40.f); float temperature = 15.f, float relativeHumidity = 40.f);
void draw(StelCore* core); void draw(StelCore* core);
void update(double deltaTime) {fader.update((int)(deltaTime*1000));} void update(double deltaTime) {fader.update((int)(deltaTime*1000));}
//! Set fade in/out duration in seconds //! Set fade in/out duration in seconds
void setFadeDuration(float duration) {fader.setDuration((int)(durati on*1000.f));} void setFadeDuration(float duration) {fader.setDuration((int)(durati on*1000.f));}
//! Get fade in/out duration in seconds //! Get fade in/out duration in seconds
float getFadeDuration() {return (float)fader.getDuration()/1000.f;} float getFadeDuration() {return (float)fader.getDuration()/1000.f;}
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/