]> gitweb.factorcode.org Git - factor.git/commit
game.loop: using timer's next-nanos, which is in the future.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 6 Jan 2020 21:14:59 +0000 (13:14 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 6 Jan 2020 21:14:59 +0000 (13:14 -0800)
commit249b9166369453a964db8e49882687bd9ca7ecd6
tree5663442c396440265840b76332844963bd41aa64
parentd3b9974bedca9f90e340c79b8cd2e60d5d72708e
game.loop: using timer's next-nanos, which is in the future.

Also, use clamp to make sure tick offset is always [0,1].
extra/game/loop/loop.factor