Skip to content

Commit 8058074

Browse files
committed
Reorder functions
1 parent d34956b commit 8058074

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/raylib.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -1049,14 +1049,14 @@ RLAPI void SetShaderValueTexture(Shader shader, int locIndex, Texture2D texture)
10491049
RLAPI void UnloadShader(Shader shader); // Unload shader from GPU memory (VRAM)
10501050

10511051
// 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
10581055
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
10601060

10611061
// Timing-related functions
10621062
RLAPI void SetTargetFPS(int fps); // Set target FPS (maximum)

0 commit comments

Comments
 (0)