summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authoruser <email>2017-12-14 11:50:35 +0100
committeruser <email>2017-12-14 11:50:35 +0100
commit48d0c93ace63225231d56f6a7aaa058218622578 (patch)
treed2567056e49008d5e86118856c7388d01ecc3aaf /src/raylib.h
parentb872de951b0c1a830e3452ede6fbdd471df0d025 (diff)
downloadraylib-48d0c93ace63225231d56f6a7aaa058218622578.tar.gz
raylib-48d0c93ace63225231d56f6a7aaa058218622578.zip
make GetTime available to user of library
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 9af21872..0a9eab46 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -723,6 +723,9 @@ RLAPI void SetTargetFPS(int fps); // Set target
RLAPI int GetFPS(void); // Returns current FPS
RLAPI float GetFrameTime(void); // Returns time in seconds for last frame drawn
+RLAPI double GetTime(void); // Return time in seconds
+
+
// Color-related functions
RLAPI int GetHexValue(Color color); // Returns hexadecimal value for a Color
RLAPI Color GetColor(int hexValue); // Returns a Color struct from hexadecimal value