sync camera movement over parallel connection

This commit is contained in:
Emil Axelsson
2016-09-19 14:49:57 +02:00
parent 13610b390d
commit fa8eee5386
7 changed files with 126 additions and 10 deletions

View File

@@ -244,6 +244,10 @@ namespace openspace {
std::map<std::string, std::string> _currentState;
std::mutex _currentStateMutex;
std::mutex _latencyMutex;
std::deque<double> _latencyDiffs;
double _initialTimeDiff;
std::shared_ptr<ghoul::Event<>> _connectionEvent;
};
} // namespace network