mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 16:24:45 +02:00
MonoGame fix
This commit is contained in:
parent
271c407357
commit
01978a2399
@ -503,7 +503,7 @@
|
||||
End Sub
|
||||
|
||||
Private Sub ClampPitch()
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5, 1.5)
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5f, 1.5f)
|
||||
End Sub
|
||||
|
||||
'Changes the camera's pitch so you can see the stuff that is in front of you. Used when textboxes appear.
|
||||
|
@ -81,7 +81,7 @@
|
||||
|
||||
Pitch += -RotationSpeed * dy
|
||||
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5, 1.5)
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5f, 1.5f)
|
||||
End Sub
|
||||
|
||||
Private Sub MoveCamera()
|
||||
|
@ -32,7 +32,7 @@
|
||||
Public Overrides Sub Update()
|
||||
Me.Ray = createRay()
|
||||
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5, 1.5)
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5f, 1.5f)
|
||||
|
||||
ScrollThirdPerson()
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
Public Overrides Sub Update()
|
||||
Me.Ray = createRay()
|
||||
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5, 1.5)
|
||||
Pitch = MathHelper.Clamp(Pitch, -1.5f, 1.5f)
|
||||
|
||||
ScrollThirdPerson()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user