Merge branch 'trunk' of github.com:lrre-foss/rnr into trunk
This commit is contained in:
commit
21e3b9b102
|
|
@ -31,7 +31,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
while (window.isVisible())
|
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();
|
app.processEvents();
|
||||||
window.ogreWidget->render();
|
window.ogreWidget->render();
|
||||||
world->preStep();
|
world->preStep();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue