diff options
| author | Ray San <[email protected]> | 2017-12-19 14:06:54 +0100 |
|---|---|---|
| committer | Ray San <[email protected]> | 2017-12-19 14:06:54 +0100 |
| commit | 5290390494c23055c689c183aea6d88039b0d5fb (patch) | |
| tree | 17de956653f0da54ed558cf58585a4590468b3d1 /src/raylib.h | |
| parent | a7de5bf6d9b707c20b95b6cff56aaf4f2c009857 (diff) | |
| download | raylib-5290390494c23055c689c183aea6d88039b0d5fb.tar.gz raylib-5290390494c23055c689c183aea6d88039b0d5fb.zip | |
Expose GetTime() function to users
Monotonic time since InitWindow() could be retrieved with this function.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index a581929e..4100cee1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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 |
