Handbook
Glossary
fps ( fps -- nanos )
Vocabulary
game
.
loop
Inputs
fps
a
real
Outputs
nanos
an
integer
Word description
Converts a frames per second value into an interval length in nanoseconds.
Definition
USING:
kernel
math
;
IN:
game.loop
:
fps
( fps -- nanos )
[
1000000000
]
dip
/i
;
inline