Advances the player by one frame. Call it once per frame. dt is the seconds since the last
call; leave it out to have the player measure it.
while true {
update();
// ... draw and handle input ...
}This one is only checked to compile, not run.
update :: (dt := FLOAT32_INFINITY)
Parameters
- dt := FLOAT32_INFINITY