Skip to content

Commit 7d07d21

Browse files
authored
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.
1 parent 82d65e1 commit 7d07d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raylib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ typedef struct Camera3D {
327327
Vector3 position; // Camera position
328328
Vector3 target; // Camera target it looks-at
329329
Vector3 up; // Camera up vector (rotation over its axis)
330-
float fovy; // Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic
330+
float fovy; // Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic
331331
int projection; // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
332332
} Camera3D;
333333

0 commit comments

Comments
 (0)