summaryrefslogtreecommitdiffstats
path: root/Cargo.nix
diff options
context:
space:
mode:
authorRaymond Hogenson <rhogenson@posteo.net>2018-08-20 00:27:28 -0400
committerRaymond Hogenson <rhogenson@posteo.net>2018-08-20 00:29:34 -0400
commit5bd92c7df63002982a6936bbd55eca329391ce68 (patch)
tree1aa74e5e13b329b9c4571cee121c82316b837a30 /Cargo.nix
parentMove some code around and improve abstraction (diff)
downloadstallman-shooter-5bd92c7df63002982a6936bbd55eca329391ce68.tar.zst
Count frames more precisely
Instead of calculating the time from the beginning, we'll just check the time since the frame was started. This means if you are slow and then fast, it won't freak out. This was inspired by an app I wrote for Clank which counts clanks frame by frame and I needed some similar mechanism.
Diffstat (limited to 'Cargo.nix')
0 files changed, 0 insertions, 0 deletions