| 12345678910111213141516171819 |
- //
- // time.cpp
- // engine
- //
- // Created by Sam Jaffe on 9/3/16.
- //
- #include "game/engine/time.hpp"
- namespace engine {
- using std::chrono::duration_cast;
- using std::chrono::nanoseconds;
- duration const fps::v24{nanoseconds{41666666}};
- duration const fps::v30{nanoseconds{33333333}};
- duration const fps::v60{nanoseconds{16666666}};
- duration const fps::v120{nanoseconds{8333333}};
- duration const fps::v144{nanoseconds{6944444}};
- }
|