diff options
| author | Ray <[email protected]> | 2021-03-24 17:06:32 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-24 17:06:32 +0100 |
| commit | bb73a8089a0b0947fa1c75420ad69ad8285aac76 (patch) | |
| tree | cad05a1016a8ac4be23ed1dc307a01f5e0389c52 /src/raylib.h | |
| parent | 9bea64b5e460b20b655f951d1b3a6293c9fa9c3e (diff) | |
| download | raylib-bb73a8089a0b0947fa1c75420ad69ad8285aac76.tar.gz raylib-bb73a8089a0b0947fa1c75420ad69ad8285aac76.zip | |
Reviewed DrawFPS() comment
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 6c7a7d16..d02ec4b3 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -971,7 +971,7 @@ RLAPI Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera); // Returns // Timing-related functions 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 float GetFrameTime(void); // Returns time in seconds for last frame drawn (delta time) RLAPI double GetTime(void); // Returns elapsed time in seconds since InitWindow() // Misc. functions @@ -1291,7 +1291,7 @@ RLAPI void UnloadFontData(CharInfo *chars, int charsCount); RLAPI void UnloadFont(Font font); // Unload Font from GPU memory (VRAM) // Text drawing functions -RLAPI void DrawFPS(int posX, int posY); // Shows current FPS +RLAPI void DrawFPS(int posX, int posY); // Draw current FPS RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) RLAPI void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint); // Draw text using font and additional parameters RLAPI void DrawTextRec(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint); // Draw text using font inside rectangle limits |
