mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-03 10:58:34 -06:00
Tiny cleanups
This commit is contained in:
@@ -254,7 +254,7 @@ glm::dvec3 KeplerTranslation::position(const UpdateData& data) const {
|
||||
_orbitPlaneDirty = false;
|
||||
}
|
||||
|
||||
const double t = data.time.j2000Seconds() -_epoch;
|
||||
const double t = data.time.j2000Seconds() - _epoch;
|
||||
const double meanMotion = glm::two_pi<double>() / _period;
|
||||
const double meanAnomaly = glm::radians(_meanAnomalyAtEpoch.value()) + t * meanMotion;
|
||||
const double e = eccentricAnomaly(meanAnomaly);
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <openspace/engine/moduleengine.h>
|
||||
|
||||
#include <openspace/documentation/documentation.h>
|
||||
#include <openspace/moduleregistration.h>
|
||||
#include <openspace/scripting/lualibrary.h>
|
||||
#include <openspace/util/openspacemodule.h>
|
||||
|
||||
Reference in New Issue
Block a user