mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Graphic fix
This commit is contained in:
parent
7150417d39
commit
16ce550a83
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Inherits Entity
|
Inherits Entity
|
||||||
|
|
||||||
|
Protected Overrides Function CalculateCameraDistance(CPosition As Vector3) as Single
|
||||||
|
Return MyBase.CalculateCameraDistance(CPosition) - 0.2F
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub UpdateEntity()
|
Public Overrides Sub UpdateEntity()
|
||||||
If Me.Rotation.Y <> Screen.Camera.Yaw Then
|
If Me.Rotation.Y <> Screen.Camera.Yaw Then
|
||||||
Me.Rotation.Y = Screen.Camera.Yaw
|
Me.Rotation.Y = Screen.Camera.Yaw
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Inherits Entity
|
Inherits Entity
|
||||||
|
|
||||||
|
Protected Overrides Function CalculateCameraDistance(CPosition As Vector3) as Single
|
||||||
|
Return MyBase.CalculateCameraDistance(CPosition) - 0.2F
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub Render()
|
Public Overrides Sub Render()
|
||||||
Me.Draw(Me.Model, Textures, False)
|
Me.Draw(Me.Model, Textures, False)
|
||||||
End Sub
|
End Sub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user