chore: format Minecraft.World

This commit is contained in:
Tropical
2026-03-13 17:06:56 -05:00
parent bd6284025d
commit 33d0737d1d
1511 changed files with 108661 additions and 115521 deletions

View File

@@ -1,19 +1,16 @@
#include "../Platform/stdafx.h"
#include "PerformanceTimer.h"
PerformanceTimer::PerformanceTimer()
{
Reset();
PerformanceTimer::PerformanceTimer() { Reset(); }
void PerformanceTimer::Reset() {
m_startTime = std::chrono::steady_clock::now();
}
void PerformanceTimer::Reset()
{
m_startTime = std::chrono::steady_clock::now();
}
void PerformanceTimer::PrintElapsedTime(const std::wstring& description) {
const std::chrono::duration<float> elapsedTime =
std::chrono::steady_clock::now() - m_startTime;
void PerformanceTimer::PrintElapsedTime(const std::wstring &description)
{
const std::chrono::duration<float> elapsedTime = std::chrono::steady_clock::now() - m_startTime;
app.DebugPrintf("TIMER: %ls: Elapsed time %f\n", description.c_str(), elapsedTime.count());
app.DebugPrintf("TIMER: %ls: Elapsed time %f\n", description.c_str(),
elapsedTime.count());
}