Skybright.cpp   Skybright.cpp 
skipping to change at line 32 skipping to change at line 32
#ifndef HAVE_POW10 #ifndef HAVE_POW10
# define HAVE_POW10 1 # define HAVE_POW10 1
# include <math.h> # include <math.h>
# define pow10(x) std::exp((x) * 2.3025850930f) # define pow10(x) std::exp((x) * 2.3025850930f)
#endif #endif
#include "Skybright.hpp" #include "Skybright.hpp"
#include "StelUtils.hpp" #include "StelUtils.hpp"
#ifdef __NetBSD__
#undef FS
#endif
Skybright::Skybright() : SN(1.f) Skybright::Skybright() : SN(1.f)
{ {
setDate(2003, 8, 0); setDate(2003, 8, 0);
setLocation(M_PI_4, 1000., 25.f, 40.f); setLocation(M_PI_4, 1000., 25.f, 40.f);
setSunMoon(0.5, 0.5); setSunMoon(0.5, 0.5);
} }
// month : 1=Jan, 12=Dec // month : 1=Jan, 12=Dec
// moonPhase in radian 0=Full Moon, PI/2=First Quadrant/Last Quadran, PI=No Moon // moonPhase in radian 0=Full Moon, PI/2=First Quadrant/Last Quadran, PI=No Moon
void Skybright::setDate(int year, int month, float moonPhase) void Skybright::setDate(int year, int month, float moonPhase)
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 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/