summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2022-06-02 19:22:42 +0200
committerRay <[email protected]>2022-06-02 19:22:42 +0200
commit6fccfc57a4efdbb1f507d5a69c820b1b9f5f13c7 (patch)
treeabcece163979c2654e2865b1f8df87e58eeb9086 /src/raylib.h
parent91af3a315261d038dbd48629b4bdd6c669173089 (diff)
downloadraylib-6fccfc57a4efdbb1f507d5a69c820b1b9f5f13c7.tar.gz
raylib-6fccfc57a4efdbb1f507d5a69c820b1b9f5f13c7.zip
Minor tweak
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
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)