Changeset 18820 for trunk/FACT++/src
- Timestamp:
- 04/14/17 12:18:40 (8 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r18614 r18820 2183 2183 const Time utc(v/1000, v%1000); 2184 2184 2185 Nova::LnLatPosn obs = Nova:: ORM();2185 Nova::LnLatPosn obs = Nova::kORM; 2186 2186 2187 2187 ln_rst_time sun; … … 2195 2195 { 2196 2196 if (args.Length()>1) 2197 return ThrowException(String::New("Moon.horizon must not be called with one argument."));2197 return ThrowException(String::New("Moon.horizon must not be called with more than one argument.")); 2198 2198 2199 2199 if (args.Length()==1 && !args[0]->IsDate()) … … 2210 2210 const Time utc(v/1000, v%1000); 2211 2211 2212 Nova::LnLatPosn obs = Nova:: ORM();2212 Nova::LnLatPosn obs = Nova::kORM; 2213 2213 2214 2214 ln_rst_time moon; -
trunk/FACT++/src/Time.cc
r18445 r18820 314 314 { 315 315 #ifdef HAVE_LIBNOVA 316 Nova::LnLatPosn obs = Nova:: ORM();316 Nova::LnLatPosn obs = Nova::kORM; 317 317 318 318 ln_rst_time sun_day; … … 347 347 { 348 348 #ifdef HAVE_LIBNOVA 349 Nova::LnLatPosn obs = Nova:: ORM();349 Nova::LnLatPosn obs = Nova::kORM; 350 350 351 351 ln_rst_time sun_day; -
trunk/FACT++/src/drivectrl.cc
r18805 r18820 368 368 out.mjd = _mjd; 369 369 370 const double elong = Nova:: ORM().lng * M_PI/180;371 const double lat = Nova:: ORM().lat * M_PI/180;370 const double elong = Nova::kORM.lng * M_PI/180; 371 const double lat = Nova::kORM.lat * M_PI/180; 372 372 const double height = 2200; 373 373 … … 2373 2373 fTrackingCounter = 0; 2374 2374 2375 const double ha = fmod(fDrive.GetSeTime(),1)*24 - Nova:: ORM().lng/15;2375 const double ha = fmod(fDrive.GetSeTime(),1)*24 - Nova::kORM.lng/15; 2376 2376 2377 2377 array<double, 12> dim;
Note:
See TracChangeset
for help on using the changeset viewer.