diff options
| author | Ray <[email protected]> | 2020-01-24 18:54:53 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-01-24 18:54:53 +0100 |
| commit | eee995ec3d1a84fe413693a666fb0b3f9c06c84a (patch) | |
| tree | 27cf4ce09869b1cfd666f55f61eb4d23605d9ff2 /src/raylib.h | |
| parent | a3ca859db2fafd66b7a75d6750f10a05b49e40a0 (diff) | |
| download | raylib-eee995ec3d1a84fe413693a666fb0b3f9c06c84a.tar.gz raylib-eee995ec3d1a84fe413693a666fb0b3f9c06c84a.zip | |
ADDED: GetWorldToScreenEx()
Addressing issue #1056
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index a86aac86..946e71a2 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -920,6 +920,7 @@ RLAPI Ray GetMouseRay(Vector2 mousePosition, Camera camera); // Returns a r RLAPI Matrix GetCameraMatrix(Camera camera); // Returns camera transform matrix (view matrix) 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 GetWorldToScreenEx(Vector3 position, Camera camera, int width, int height); // Returns size 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 |
