Skip to content

r-lyeh-archived/hertz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hertz ⌚

  • Hertz is a simple framerate locker (C++11)
  • Hertz features auto-frameskip.
  • Hertz features dynamic/variable framerate locking.
  • Hertz is tiny (~75 LOC), cross-platform, self-contained and header-only.
  • Hertz is zlib/libpng licensed.

API

double /*fps*/ hertz::lock( 60 /*Hz*/, []{/*logic*/}, []{/*render*/} );
          void hertz::unlock(); // quit

Changelog

  • v1.0.0 (2015/12/05): Add unlock function
  • v1.0.0 (2015/09/19): Initial commit

About

⌚ Hertz, simple framerate locker (C++11)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages