Refined culling logic, added periodic query

This commit is contained in:
2016-04-14 22:56:15 +10:00
parent f9a5f60969
commit cc6981e35f
4 changed files with 64 additions and 37 deletions
+1
View File
@@ -168,6 +168,7 @@ private:
//TODO: (2) Heartbeat needs it's own utility
typedef std::chrono::steady_clock Clock;
Clock::time_point lastBeat = Clock::now();
Clock::time_point queryTime = Clock::now() - std::chrono::seconds(4); //back 4 seconds to trigger automatically
int attemptedBeats = 0;
//ugly references; I hate this