FPS is the amount of frames per second, computed every time a tick occurs at least a second after the previous update
()
| 84 | |
| 85 | // FPS is the amount of frames per second, computed every time a tick occurs at least a second after the previous update |
| 86 | func (c *Clock) FPS() float32 { |
| 87 | return float32(c.perSecond) |
| 88 | } |
| 89 | |
| 90 | // Time is the number of seconds the clock has been running |
| 91 | func (c *Clock) Time() float32 { |
no outgoing calls