Handbook
Glossary
last-tick-percent-offset ( loop -- float )
Vocabulary
game
.
loop
.
private
Inputs
loop
an
object
Outputs
float
an
object
Definition
USING:
accessors
kernel
math
math.order
system
;
IN:
game.loop.private
:
last-tick-percent-offset
( loop -- float )
[
draw-timer>>
next-nanos>>
nano-count
-
]
[
tick-interval-nanos>>
]
bi
/f
1.0
swap
-
0.0 1.0
clamp
;