Changeset 15163
- Timestamp:
- 03/26/13 17:42:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r15153 r15163 86 86 #include "DimState.h" 87 87 88 #ifdef HAVE_LIBNOVA 88 89 #include <libnova/solar.h> 89 90 #include <libnova/rise_set.h> 91 #endif 90 92 91 93 //Dim structures … … 1271 1273 Time DataLogger::GetSunRise(const Time &time) 1272 1274 { 1275 #ifdef HAVE_LIBNOVA 1273 1276 const double lon = -(17.+53./60+26.525/3600); 1274 1277 const double lat = 28.+45./60+42.462/3600; … … 1296 1299 1297 1300 return Time(sun_day.rise); 1301 #else 1302 return time; 1303 #endif 1298 1304 } 1299 1305
Note:
See TracChangeset
for help on using the changeset viewer.