Remove non-descriptive methods preSync and postSync from class Time

This commit is contained in:
Erik Broberg
2016-09-03 21:06:09 -04:00
parent 3a887fef02
commit 60441c4fa1
3 changed files with 0 additions and 15 deletions
-4
View File
@@ -184,10 +184,6 @@ public:
void deserialize(SyncBuffer* syncBuffer);
void postSynchronizationPreDraw();
void preSynchronization();
bool timeJumped() const;
void setTimeJumped(bool jumped);
-3
View File
@@ -757,7 +757,6 @@ void OpenSpaceEngine::preSynchronization() {
double dt = _windowWrapper->averageDeltaTime();
Time::ref().advanceTime(dt);
Time::ref().preSynchronization();
auto scheduledScripts = _scriptScheduler->scheduledScripts(Time::ref().j2000Seconds());
while(scheduledScripts.size()){
@@ -787,8 +786,6 @@ void OpenSpaceEngine::postSynchronizationPreDraw() {
_shutdownCountdown -= _windowWrapper->averageDeltaTime();
}
Time::ref().postSynchronizationPreDraw();
_scriptEngine->postSynchronizationPreDraw();
_renderEngine->postSynchronizationPreDraw();
-8
View File
@@ -176,14 +176,6 @@ void Time::deserialize(SyncBuffer* syncBuffer) {
_syncMutex.unlock();
}
void Time::postSynchronizationPreDraw() {
}
void Time::preSynchronization() {
}
bool Time::timeJumped() const {
return _timeJumped;
}