MCPcopy Create free account
hub / github.com/chrxh/alien / processTpsInfo

Method processTpsInfo

source/Gui/TemporalControlWindow.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void TemporalControlWindow::processTpsInfo()
70{
71 ImGui::Text("Time steps per second");
72
73 ImGui::PushFont(StyleRepository::get().getLargeFont());
74 ImGui::PushStyleColor(ImGuiCol_Text, Const::TextDecentColor /*0xffa07050*/);
75 ImGui::TextUnformatted(StringHelper::format(_simulationFacade->getTps(), 1).c_str());
76 ImGui::PopStyleColor();
77 ImGui::PopFont();
78}
79
80void TemporalControlWindow::processTotalTimestepsInfo()
81{

Callers

nothing calls this directly

Calls 2

getLargeFontMethod · 0.80
getTpsMethod · 0.45

Tested by

no test coverage detected