diff options
| author | raysan5 <[email protected]> | 2019-08-27 13:15:56 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2019-08-27 13:15:56 +0200 |
| commit | 4e43192561f167b7b5c4fb92998c656b4a432a79 (patch) | |
| tree | f9063ddf957c5ab0b27f5baecc7299173a0fbda7 /src/raylib.h | |
| parent | 97101d1003b182af354530c1447a1ee67af47e8c (diff) | |
| download | raylib-4e43192561f167b7b5c4fb92998c656b4a432a79.tar.gz raylib-4e43192561f167b7b5c4fb92998c656b4a432a79.zip | |
Review latest PR
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/raylib.h b/src/raylib.h index 4dcf78ac..ec6fd8a1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -909,11 +909,11 @@ RLAPI void EndScissorMode(void); // End scissor // Screen-space-related functions RLAPI Ray GetMouseRay(Vector2 mousePosition, Camera camera); // Returns a ray trace from mouse position -RLAPI Vector2 GetWorldToScreen(Vector3 position, Camera camera); // Returns the screen space position for a 3d world space position RLAPI Matrix GetCameraMatrix(Camera camera); // Returns camera transform matrix (view matrix) -RLAPI Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera); -RLAPI Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera); -RLAPI Matrix GetCamera2DMatrix(Camera2D camera); +RLAPI Matrix GetCameraMatrix2D(Camera2D camera); // Returns camera 2d transform matrix +RLAPI Vector2 GetWorldToScreen(Vector3 position, Camera camera); // Returns the screen space position for a 3d world space position +RLAPI Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera); // Returns the screen space position for a 2d camera world space position +RLAPI Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera); // Returns the world space position for a 2d camera screen space position // Timing-related functions RLAPI void SetTargetFPS(int fps); // Set target FPS (maximum) |
