Skip to content

Time

This allows to access both the Total time that the program has been running for and the delta time of the last frame.

Functions

  • static float deltaTime() Returns the delta time.
  • static double time() Returns the total time the program has been running for.