Merge branch 'trunk' of github.com:lrre-foss/rnr into trunk

This commit is contained in:
floralrainfall 2023-07-16 03:47:57 -04:00
commit 21e3b9b102
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ int main(int argc, char** argv)
while (window.isVisible())
{
window.statusBar()->showMessage(QString::asprintf("Dt=%f, Rt=%f", window.ogreWidget->delta, window.ogreWidget->render_time));
window.statusBar()->showMessage(QString::asprintf("Dt=%f, Rt=%f, FPS=%f", window.ogreWidget->delta, window.ogreWidget->render_time, 1 / window.ogreWidget->delta));
app.processEvents();
window.ogreWidget->render();
world->preStep();