Remove local, shared, synced versions of Time. Keep one source of true

This commit is contained in:
Erik Broberg
2016-09-03 19:45:58 -04:00
parent 16b79759b9
commit 9196ec2f50
15 changed files with 40 additions and 98 deletions
@@ -156,7 +156,7 @@ namespace openspace {
stats.startNewRecord();
int j2000s = Time::now().unsyncedJ2000Seconds();
int j2000s = Time::now().j2000Seconds();
auto duration = std::chrono::system_clock::now().time_since_epoch();
auto millis = std::chrono::duration_cast<std::chrono::milliseconds>(duration).count();
@@ -180,7 +180,7 @@ namespace openspace {
stats.i["chunks leafs"]++;
if (chunk.isVisible()) {
stats.i["rendered chunks"]++;
double t0 = Time::now().unsyncedJ2000Seconds();
double t0 = Time::now().j2000Seconds();
_renderer->renderChunk(chunkNode.getChunk(), data);
debugRenderChunk(chunk, mvp);
}