mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-03 12:49:17 -05:00
Updated Frequently asked Questions Common Questions (markdown)
@ -21,8 +21,8 @@ Raylib has no built in timer system. You are expected to keep track of time in y
|
|||||||
```c
|
```c
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
double StartTime;
|
double StartTime; // start time (seconds)
|
||||||
double Lifetime;
|
double Lifetime; // lifetime (seconds)
|
||||||
}Timer;
|
}Timer;
|
||||||
|
|
||||||
void StartTimer(Timer* timer, double lifetime)
|
void StartTimer(Timer* timer, double lifetime)
|
||||||
|
|||||||
Reference in New Issue
Block a user