diff options
| author | raysan5 <[email protected]> | 2020-03-25 19:39:02 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-03-25 19:39:02 +0100 |
| commit | 7fd28dc8364d72def61d73a2d33b0ecd5242f5ce (patch) | |
| tree | 51ef76db6095d61f5266fd2d505a06370a7e1530 /cheatsheet | |
| parent | 1c448b37b3c387814f2b122efc08a951958ad88a (diff) | |
| download | raylib.com-7fd28dc8364d72def61d73a2d33b0ecd5242f5ce.tar.gz raylib.com-7fd28dc8364d72def61d73a2d33b0ecd5242f5ce.zip | |
Update raylib_core.c
Diffstat (limited to 'cheatsheet')
| -rw-r--r-- | cheatsheet/raylib_core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cheatsheet/raylib_core.c b/cheatsheet/raylib_core.c index 904b542..e5e23d4 100644 --- a/cheatsheet/raylib_core.c +++ b/cheatsheet/raylib_core.c @@ -7,6 +7,7 @@ bool IsWindowMinimized(void); // Check if window has been minimized (or lost focus) bool IsWindowResized(void); // Check if window has been resized bool IsWindowHidden(void); // Check if window is currently hidden + bool IsWindowFullscree(void); // Check if window is currently fullscreen void ToggleFullscreen(void); // Toggle fullscreen mode (only PLATFORM_DESKTOP) void UnhideWindow(void); // Show the window void HideWindow(void); // Hide the window @@ -54,9 +55,9 @@ Matrix GetCameraMatrix(Camera camera); // Returns camera transform matrix (view matrix) Matrix GetCameraMatrix2D(Camera2D camera); // Returns camera 2d transform matrix Vector2 GetWorldToScreen(Vector3 position, Camera camera); // Returns the screen space position for a 3d world space position - Vector2 GetWorldToScreenEx(Vector3 position, Camera camera, int width, int height); // Returns size position for a 3d world space position - Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera ); // Returns the screen space position for a 2d camera world space position - Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera ); // Returns the world space position for a 2d camera screen space position + Vector2 GetWorldToScreenEx(Vector3 position, Camera camera,int width, int height); // Returns size position for a 3d world space position + Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera); // Returns the screen space position for a 2d camera world space position + Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera); // Returns the world space position for a 2d camera screen space position // Timing-related functions void SetTargetFPS(int fps); // Set target FPS (maximum) |
