ofMainLoop and framerate

Hi all,

I’ve been wondering how to implement a custom application loop for OF. There’s the ofMainLoop class since 0.9 but how does OF implement it’s framerate? Is OF using a regular sleep or some other method? And where does it do that exactly. Pointers welcomed :smile: