Expose GetTime() function to users

Monotonic time since InitWindow() could be retrieved with this function.
This commit is contained in:
Ray San
2017-12-19 14:06:54 +01:00
parent a7de5bf6d9
commit 5290390494
3 changed files with 33 additions and 32 deletions

View File

@ -722,7 +722,7 @@ RLAPI Matrix GetCameraMatrix(Camera camera); // Returns cam
RLAPI void SetTargetFPS(int fps); // Set target FPS (maximum)
RLAPI int GetFPS(void); // Returns current FPS
RLAPI float GetFrameTime(void); // Returns time in seconds for last frame drawn
//RLAPI double GetCurrentTime(void); // Return current time in seconds
RLAPI double GetTime(void); // Returns elapsed time in seconds since InitWindow()
// Color-related functions
RLAPI int GetHexValue(Color color); // Returns hexadecimal value for a Color