Update rcamera
This commit is contained in:
parent
f7a84b3d10
commit
5a62d0591a
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue