feature: Added profiler which outputs to tty, removed subdivision entirely - to be remade later

This commit is contained in:
2025-09-04 18:04:30 +02:00
parent 8151f3864c
commit 55c1d2c39b
8 changed files with 314 additions and 311 deletions

View File

@@ -66,8 +66,8 @@ void MainScene::frame() {
}
mainScene.m_lastFrameCounter = currentFrameCounter;
m_sceneManager.GameTick();
m_sceneManager.GameTick(gpu());
app.m_font.chainprintf(gpu(), {{.x = 2, .y = 2}}, {{.r = 0xff, .g = 0xff, .b = 0xff}}, "FPS: %i",
gpu().getRefreshRate() / deltaTime);