Skip to content
Snippets Groups Projects
Commit 7d97c3b5 authored by Sebastian Gaida's avatar Sebastian Gaida
Browse files

[#105] add deltatime to imgui

parent 7924fe77
No related branches found
No related tags found
1 merge request!88Resolve "Indirect Draw"
Pipeline #27388 passed
...@@ -596,6 +596,7 @@ int main(int argc, const char** argv) { ...@@ -596,6 +596,7 @@ int main(int argc, const char** argv) {
ImGui::Begin("Settings"); ImGui::Begin("Settings");
ImGui::Checkbox("Update frustum culling", &updateFrustumPlanes); ImGui::Checkbox("Update frustum culling", &updateFrustumPlanes);
ImGui::Text("Deltatime %fms, %f", 0.001 * static_cast<double>(deltatime.count()), 1/(0.000001 * static_cast<double>(deltatime.count())));
ImGui::End(); ImGui::End();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment