From 7d07d21ee53d4b38bd102c9fdf7534b43c062fe5 Mon Sep 17 00:00:00 2001 From: 0_stamina Date: Sun, 31 Aug 2025 22:56:31 -0700 Subject: [PATCH] Update Camera3D.fovy description in raylib.h (#5164) Previously stated it was the near plane width in orthographic, in actuality it's the height. The wording has been fixed, with added clarity that it's in world units so no conversion is needed. --- src/raylib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raylib.h b/src/raylib.h index c45168763..a460ed240 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -327,7 +327,7 @@ typedef struct Camera3D { Vector3 position; // Camera position Vector3 target; // Camera target it looks-at Vector3 up; // Camera up vector (rotation over its axis) - float fovy; // Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic + float fovy; // Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic int projection; // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC } Camera3D;