mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 07:19:28 -05:00
Remove non-descriptive methods preSync and postSync from class Time
This commit is contained in:
@@ -184,10 +184,6 @@ public:
|
||||
|
||||
void deserialize(SyncBuffer* syncBuffer);
|
||||
|
||||
void postSynchronizationPreDraw();
|
||||
|
||||
void preSynchronization();
|
||||
|
||||
bool timeJumped() const;
|
||||
|
||||
void setTimeJumped(bool jumped);
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -176,14 +176,6 @@ void Time::deserialize(SyncBuffer* syncBuffer) {
|
||||
_syncMutex.unlock();
|
||||
}
|
||||
|
||||
void Time::postSynchronizationPreDraw() {
|
||||
|
||||
}
|
||||
|
||||
void Time::preSynchronization() {
|
||||
|
||||
}
|
||||
|
||||
bool Time::timeJumped() const {
|
||||
return _timeJumped;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user