Skip to content

Commit

Permalink
Update rcamera
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Nov 12, 2023
1 parent f7a84b3 commit 5a62d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raylib/rcamera.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func CameraYaw(camera *Camera, angle float32, rotateAroundTarget uint8) {
// CameraPitch - Rotates the camera around its right vector, pitch is "looking up and down"
// - lockView prevents camera overrotation (aka "somersaults")
// - rotateAroundTarget defines if rotation is around target or around its position
// - rotateUp rotates the up direction as well (typically only usefull in CAMERA_FREE)
// - rotateUp rotates the up direction as well (typically only useful in CAMERA_FREE)
//
// NOTE: angle must be provided in radians
func CameraPitch(camera *Camera, angle float32, lockView uint8, rotateAroundTarget uint8, rotateUp uint8) {
Expand Down

0 comments on commit 5a62d05

Please sign in to comment.