summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-13 17:46:59 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-13 19:25:08 +0000
commit3acea6d17bee24c2079c0eeb33694c2539debabd (patch)
tree40f29a051d9306508635231bfd40168abb42d735 /lib
parentIntroduce the UI shader (diff)
downloadilt-3acea6d17bee24c2079c0eeb33694c2539debabd.tar.bz2
ilt-3acea6d17bee24c2079c0eeb33694c2539debabd.tar.xz
ilt-3acea6d17bee24c2079c0eeb33694c2539debabd.zip
Move TickDuration to its own files
Diffstat (limited to 'lib')
-rw-r--r--lib/chronology.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chronology.hpp b/lib/chronology.hpp
new file mode 100644
index 0000000..5edf95a
--- /dev/null
+++ b/lib/chronology.hpp
@@ -0,0 +1,8 @@
+#ifndef CHRONOLOGY_H
+#define CHRONOLOGY_H
+
+#include <chrono>
+
+using TickDuration = std::chrono::duration<float, std::chrono::seconds::period>;
+
+#endif