clean up includes a bit in Orbit.h/cpp
parent
a2b18c1dc3
commit
9b0ead724f
|
@ -6,7 +6,6 @@
|
|||
#include "Space.h"
|
||||
#include "Frame.h"
|
||||
#include "Serializer.h"
|
||||
#include "Game.h"
|
||||
#include "Planet.h"
|
||||
#include "Pi.h"
|
||||
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
// Copyright © 2008-2013 Pioneer Developers. See AUTHORS.txt for details
|
||||
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
|
||||
|
||||
#include "Serializer.h"
|
||||
#include "Pi.h"
|
||||
#include <map>
|
||||
#include "utils.h"
|
||||
#include "Game.h"
|
||||
#include "Orbit.h"
|
||||
#include "Game.h"
|
||||
#include "Pi.h"
|
||||
|
||||
double Orbit::MeanAnomalyAtTime(double time) const {
|
||||
const double e = eccentricity;
|
||||
|
@ -297,5 +294,3 @@ Orbit * Orbit::calc_orbit(Orbit * ret, vector3d pos, vector3d vel, double mass)
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
|
18
src/Orbit.h
18
src/Orbit.h
|
@ -1,12 +1,11 @@
|
|||
/*
|
||||
* Orbit.h
|
||||
*
|
||||
* Created on: Feb 18, 2013
|
||||
* Author: olsij4am
|
||||
*/
|
||||
// Copyright © 2008-2013 Pioneer Developers. See AUTHORS.txt for details
|
||||
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
|
||||
|
||||
#ifndef ORBIT_H_
|
||||
#define ORBIT_H_
|
||||
#ifndef ORBIT_H
|
||||
#define ORBIT_H
|
||||
|
||||
#include "vector3.h"
|
||||
#include "matrix3x3.h"
|
||||
|
||||
struct Orbit {
|
||||
Orbit(): orbitalPhaseAtStart(0.0) {};
|
||||
|
@ -35,5 +34,4 @@ struct Orbit {
|
|||
matrix3x3d rotMatrix;
|
||||
};
|
||||
|
||||
|
||||
#endif /* ORBIT_H_ */
|
||||
#endif
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "LuaNameGen.h"
|
||||
#include <map>
|
||||
#include "utils.h"
|
||||
#include "Game.h"
|
||||
#include "Orbit.h"
|
||||
#include "Lang.h"
|
||||
#include "StringF.h"
|
||||
|
|
Loading…
Reference in New Issue