mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
added a current run time variable for the openspace engine + get/set method.
run time is set in preSync from SGCT runtime at the moment
This commit is contained in:
@@ -71,6 +71,8 @@ public:
|
||||
bool initialize();
|
||||
bool isMaster();
|
||||
void setMaster(bool master);
|
||||
double runTime();
|
||||
void setRunTime(double t);
|
||||
static bool findConfiguration(std::string& filename);
|
||||
|
||||
// Guaranteed to return a valid pointer
|
||||
@@ -131,6 +133,7 @@ private:
|
||||
gui::GUI* _gui;
|
||||
network::ParallelConnection* _parallelConnection;
|
||||
bool _isMaster;
|
||||
double _runTime;
|
||||
|
||||
SyncBuffer* _syncBuffer;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user