@@ -1049,14 +1049,14 @@ RLAPI void SetShaderValueTexture(Shader shader, int locIndex, Texture2D texture)
1049
1049
RLAPI void UnloadShader (Shader shader ); // Unload shader from GPU memory (VRAM)
1050
1050
1051
1051
// Screen-space-related functions
1052
- RLAPI Ray GetMouseRay (Vector2 mousePosition , Camera camera ); // Get a ray trace from mouse position
1053
- RLAPI Ray GetViewRay (Vector2 mousePosition , Camera camera , float width , float height ); // Get a ray trace from mouse position in a viewport
1054
- RLAPI Matrix GetCameraMatrix (Camera camera ); // Get camera transform matrix (view matrix)
1055
- RLAPI Matrix GetCameraMatrix2D (Camera2D camera ); // Get camera 2d transform matrix
1056
- RLAPI Vector2 GetWorldToScreen (Vector3 position , Camera camera ); // Get the screen space position for a 3d world space position
1057
- RLAPI Vector2 GetScreenToWorld2D (Vector2 position , Camera2D camera ); // Get the world space position for a 2d camera screen space position
1052
+ RLAPI Ray GetMouseRay (Vector2 mousePosition , Camera camera ); // Get a ray trace from mouse position
1053
+ RLAPI Ray GetViewRay (Vector2 mousePosition , Camera camera , float width , float height ); // Get a ray trace from mouse position in a viewport
1054
+ RLAPI Vector2 GetWorldToScreen (Vector3 position , Camera camera ); // Get the screen space position for a 3d world space position
1058
1055
RLAPI Vector2 GetWorldToScreenEx (Vector3 position , Camera camera , int width , int height ); // Get size position for a 3d world space position
1059
- RLAPI Vector2 GetWorldToScreen2D (Vector2 position , Camera2D camera ); // Get the screen space position for a 2d camera world space position
1056
+ RLAPI Vector2 GetWorldToScreen2D (Vector2 position , Camera2D camera ); // Get the screen space position for a 2d camera world space position
1057
+ RLAPI Vector2 GetScreenToWorld2D (Vector2 position , Camera2D camera ); // Get the world space position for a 2d camera screen space position
1058
+ RLAPI Matrix GetCameraMatrix (Camera camera ); // Get camera transform matrix (view matrix)
1059
+ RLAPI Matrix GetCameraMatrix2D (Camera2D camera ); // Get camera 2d transform matrix
1060
1060
1061
1061
// Timing-related functions
1062
1062
RLAPI void SetTargetFPS (int fps ); // Set target FPS (maximum)
0 commit comments