Skip to content

Timestep

#include "Saturn/Core/Timestep.h"

Tracks the amount of time has passed since the last frame (i.e. delta time).

class Timestep

Public members

Timestep() = default;
Timestep( float time );

inline float Seconds() const;
inline float Milliseconds() const;

// Returns time in seconds.
operator float() { return m_Time; }