Skip to content

Commit

Permalink
docs: specify correct angle units on Camera3D's fov
Browse files Browse the repository at this point in the history
  • Loading branch information
tynberry authored and not-fl3 committed Aug 23, 2024
1 parent f77e656 commit 6330633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub struct Camera3D {
pub target: Vec3,
/// Camera up vector (rotation over its axis).
pub up: Vec3,
/// Camera field-of-view aperture in Y (degrees)
/// Camera field-of-view aperture in Y (radians)
/// in perspective, used as near plane width in orthographic.
pub fovy: f32,
/// Screen aspect ratio.
Expand Down

0 comments on commit 6330633

Please sign in to comment.