1 #ifndef ExoViewer_OrbitJob_h
2 #define ExoViewer_OrbitJob_h
16 std::vector<std::shared_ptr<Body>>*
bodies;
24 for (
int i = 0; i < bodies->size(); i++){
27 if (bodies->at(i)->hasOrbit()){
28 bodies->at(i)->updateOrbit(currentDate);
30 bodies->at(i)->updateRotation(daysPerUpdate);
Definition: OrbitJob.h:12
void run()
Definition: OrbitJob.h:20
double daysPerUpdate
Definition: OrbitJob.h:18
Definition: AstroCommon.h:18
std::vector< std::shared_ptr< Body > > * bodies
Definition: OrbitJob.h:16
double currentDate
Definition: OrbitJob.h:17