summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2016-06-11 19:14:25 +0200
committervictorfisac <[email protected]>2016-06-11 19:14:25 +0200
commit7999bbafa8c5333b69edb7881f64986f3e3e3d45 (patch)
treeeee00126653f96a4360d6ecf086533c8baad28aa /src/raylib.h
parent4c43a407888d516b38191b5df76e373dae6ec58e (diff)
downloadraylib-7999bbafa8c5333b69edb7881f64986f3e3e3d45.tar.gz
raylib-7999bbafa8c5333b69edb7881f64986f3e3e3d45.zip
Make GetTime() public to be used externally
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index bfcb9bf5..bfed533b 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -582,6 +582,7 @@ Matrix GetCameraMatrix(Camera camera); // Returns camera tr
void SetTargetFPS(int fps); // Set target FPS (maximum)
float GetFPS(void); // Returns current FPS
float GetFrameTime(void); // Returns time in seconds for one frame
+double GetTime(void); // Returns time since InitTimer() was run internally
Color GetColor(int hexValue); // Returns a Color struct from hexadecimal value
int GetHexValue(Color color); // Returns hexadecimal value for a Color