We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62d8ffa + a8d3eb0 commit 3b8e414Copy full SHA for 3b8e414
1 file changed
Walnut/src/Walnut/Timer.h
@@ -14,17 +14,17 @@ namespace Walnut {
14
Reset();
15
}
16
17
- void Timer::Reset()
+ void Reset()
18
{
19
m_Start = std::chrono::high_resolution_clock::now();
20
21
22
- float Timer::Elapsed()
+ float Elapsed()
23
24
return std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::high_resolution_clock::now() - m_Start).count() * 0.001f * 0.001f * 0.001f;
25
26
27
- float Timer::ElapsedMillis()
+ float ElapsedMillis()
28
29
return Elapsed() * 1000.0f;
30
0 commit comments