diff options
| author | Ray <[email protected]> | 2022-06-02 19:22:42 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-02 19:22:42 +0200 |
| commit | 6fccfc57a4efdbb1f507d5a69c820b1b9f5f13c7 (patch) | |
| tree | abcece163979c2654e2865b1f8df87e58eeb9086 /src | |
| parent | 91af3a315261d038dbd48629b4bdd6c669173089 (diff) | |
| download | raylib-6fccfc57a4efdbb1f507d5a69c820b1b9f5f13c7.tar.gz raylib-6fccfc57a4efdbb1f507d5a69c820b1b9f5f13c7.zip | |
Minor tweak
Diffstat (limited to 'src')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 4e989795..8379c343 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1008,9 +1008,9 @@ RLAPI Ray GetMouseRay(Vector2 mousePosition, Camera camera); // Get a ray t RLAPI Matrix GetCameraMatrix(Camera camera); // Get camera transform matrix (view matrix) RLAPI Matrix GetCameraMatrix2D(Camera2D camera); // Get camera 2d transform matrix RLAPI Vector2 GetWorldToScreen(Vector3 position, Camera camera); // Get the screen space position for a 3d world space position +RLAPI Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera); // Get the world space position for a 2d camera screen space position RLAPI Vector2 GetWorldToScreenEx(Vector3 position, Camera camera, int width, int height); // Get size position for a 3d world space position RLAPI Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera); // Get the screen space position for a 2d camera world space position -RLAPI Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera); // Get the world space position for a 2d camera screen space position // Timing-related functions RLAPI void SetTargetFPS(int fps); // Set target FPS (maximum) |
