mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2025-12-31 00:10:44 -06:00
Correctly calculate the period from mean motion for minor planet center orbits (closes #3804)
This commit is contained in:
@@ -848,7 +848,7 @@ std::vector<Parameters> readMpcFile(const std::filesystem::path& file) {
|
||||
argPeriapsis,
|
||||
meanAnomaly,
|
||||
epochFromYMDdSubstring(epochDate),
|
||||
std::chrono::seconds(std::chrono::hours(24)).count() / meanMotion
|
||||
(360.0 / meanMotion) * std::chrono::seconds(std::chrono::hours(24)).count()
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user