This commit is contained in:
Elon
2019-04-02 10:48:21 -06:00
parent 944f9fc978
commit 127f64c123
2 changed files with 4 additions and 2 deletions

View File

@@ -554,6 +554,7 @@ namespace openspace {
using namespace std::chrono;
double period = seconds(hours(24)).count() / keplerElements.meanMotion;
// not really sure what this is used for. /elon
_keplerTranslator.setKeplerElements(
keplerElements.eccentricity,
keplerElements.semiMajorAxis,
@@ -594,6 +595,8 @@ namespace openspace {
_programObject->activate();
LINFO("render data: ", data);
_programObject->deactivate();
}
void ElonsTest::update(const UpdateData& data) {

View File

@@ -62,7 +62,7 @@ public:
protected:
private:
TLETranslation _tleTranslator;
// TLETranslation _tleTranslator;
// std::vector<KeplerTranslation::KeplerOrbit> _orbits;
ghoul::opengl::ProgramObject* _programObject;
@@ -70,7 +70,6 @@ private:
properties::StringProperty _path;
properties::UIntProperty _nSegments;
properties::StringProperty _eccentricityColumnName;
properties::StringProperty _semiMajorAxisColumnName;
properties::DoubleProperty _semiMajorAxisUnit;