This commit is contained in:
Jonathan Fransson
2019-04-30 14:33:17 -06:00
parent 3be6b92bad
commit c967ddb544
3 changed files with 38 additions and 5 deletions
@@ -780,7 +780,7 @@ int getNearestVertexNeighbour(int whatOrbit) {
void RenderableSatellites::render(const RenderData& data, RendererTasks&) {
//if (_TLEData.empty())
// return;
_inGameTime = static_cast<float>(data.time.j2000Seconds());
_inGameTime = data.time.j2000Seconds();
// -----------------
// double nrOfPeriods = (_inGameTime - _vertexBufferData[4].epoch) / _vertexBufferData[4].period;
// double periodFraction = std::fmod(nrOfPeriods, 1);