Mana
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
time.h File Reference
#include <cstdint>

Go to the source code of this file.

Classes

class  Timer
 Simple timer that can be used to check if a certain amount of time has passed. More...
 

Namespaces

namespace  Time
 

Functions

uint32_t Time::absoluteTimeMs ()
 The time in milliseconds since the program started (wraps around after ~49 days).
 
unsigned Time::deltaTimeMs ()
 The time in milliseconds since the last frame, but never more than 1000.
 
float Time::deltaTime ()
 The time in seconds since the last frame, but never more than 1.
 
void Time::beginFrame ()
 Called at the start of each frame, updates the above variables.