delta was supposed to be in seconds, not ms

This commit is contained in:
DaniTheSkunk 2022-10-24 22:41:11 +00:00
parent 4957968eb8
commit 90b21ce6a4
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public abstract class BaseGame {
window.tick();
//todo: frame rate control
rootNode.tick();
update(1000.0 / 60.0);
update(1.0 / 60.0);
var rc = window.renderStart();
renderPre(rc);
rootNode.render(rc);