P3D-Legacy/P3D/Screens/MainMenu/Scene/MainMenuCamera.vb

25 lines
452 B
VB.net
Raw Normal View History

2018-02-24 09:32:04 +01:00
Namespace Screens.MainMenu.Scene
Public Class MainMenuCamera
Inherits GameDevCommon.Rendering.PerspectiveCamera
Public Sub New()
Pitch = 0
FOV = 45
Position = New Vector3(0, 0, 100)
CreateView()
CreateProjection()
End Sub
Public Overrides Sub Update()
Yaw = -0.1F
CreateView()
End Sub
End Class
End Namespace