Skip to content

Commit

Permalink
Update GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
xorz57 authored Feb 8, 2024
1 parent 3c1266a commit b79136c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ void Application::Run() {
ImGui::End();

ImGui::Begin("Statistics");
ImGui::Text("Frame Rate : %3.f Hz", 1.0f / deltaTime.asSeconds());
ImGui::Text("Tick Rate : %3.f Hz", 1.0f / fixedDeltaTime.asSeconds());
ImGui::Text("Fixed Delta Time : %3d ms", fixedDeltaTime.asMilliseconds());
ImGui::Text("Delta Time : %3d ms", deltaTime.asMilliseconds());
ImGui::Text("Scaled Delta Time : %3d ms", scaledDeltaTime.asMilliseconds());
ImGui::Text("Frame Rate %3.f Hz", 1.0f / deltaTime.asSeconds());
ImGui::Text("Tick Rate %3.f Hz", 1.0f / fixedDeltaTime.asSeconds());
ImGui::Text("Fixed Delta Time %3d ms", fixedDeltaTime.asMilliseconds());
ImGui::Text("Delta Time %3d ms", deltaTime.asMilliseconds());
ImGui::Text("Scaled Delta Time %3d ms", scaledDeltaTime.asMilliseconds());
ImGui::End();

mWindow.clear(sf::Color(25, 25, 25));
Expand Down

0 comments on commit b79136c

Please sign in to comment.