time.cpp 393 B

123456789101112131415161718
  1. //
  2. // time.cpp
  3. // engine
  4. //
  5. // Created by Sam Jaffe on 9/3/16.
  6. //
  7. #include "time.hpp"
  8. namespace engine {
  9. using std::chrono::duration_cast;
  10. using std::chrono::nanoseconds;
  11. duration const FPS30 { nanoseconds{ 33333333 } };
  12. duration const FPS60 { nanoseconds{ 16666666 } };
  13. duration const FPS120{ nanoseconds{ 8333333 } };
  14. duration const FPS144{ nanoseconds{ 6944444 } };
  15. }