This commit is contained in:
Henrik Rydgård committed 2020-08-16 10:00:26 +02:00
1 parent 7aacf3df37
commit c8a06d40c9
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -2,8 +2,9 @@
// http://linux.die.net/man/3/clock_gettime
// This time implementation caches the time for max performance (call time_now() as much as you like).
// This time implementation caches the time for max performance (call time_now_d() as much as you like).
// You need to call time_update() once per frame (or whenever you need the correct time right now).
// Or you can use real_time_now() directly.
void time_update();
@@ -33,4 +34,4 @@ private:
bool endCalled_;
double totalTime_;
double endTime_;
};
};