fps ( fps -- nanos )


Vocabulary
game.loop

Inputs
fpsa real


Outputs
nanosan integer


Word description
Converts a frames per second value into an interval length in nanoseconds.

Definition


: fps ( fps -- nanos ) [ 1000000000 ] dip /i ; inline