luna engine
software engine
Loading...
Searching...
No Matches
luna::utils::timestep Class Reference

#include <timestep.h>

Public Member Functions

 timestep (float time=0.0f)
 
 operator float () const
 
float getSeconds () const
 
float getMilliseconds () const
 

Private Attributes

float m_Time
 

Constructor & Destructor Documentation

◆ timestep()

luna::utils::timestep::timestep ( float  time = 0.0f)
inline

Member Function Documentation

◆ getMilliseconds()

float luna::utils::timestep::getMilliseconds ( ) const
inline

◆ getSeconds()

float luna::utils::timestep::getSeconds ( ) const
inline

◆ operator float()

luna::utils::timestep::operator float ( ) const
inline

Member Data Documentation

◆ m_Time

float luna::utils::timestep::m_Time
private

The documentation for this class was generated from the following file: