P3D-Legacy/P3D/Entites/Enviroment/WallBlock.vb

13 lines
322 B
VB.net
Raw Normal View History

2016-09-07 18:50:38 +02:00
Public Class WallBlock
Inherits Entity
2016-12-08 15:16:51 +01:00
Protected Overrides Function CalculateCameraDistance(CPosition As Vector3) as Single
Return MyBase.CalculateCameraDistance(CPosition) - 0.2F
End Function
2016-09-07 18:50:38 +02:00
Public Overrides Sub Render()
Me.Draw(Me.Model, Textures, False)
End Sub
End Class