P3D-Legacy/P3D/Resources/Models/Blocks/HalfDiagonalWallModel.vb

27 lines
1.6 KiB
VB.net

Public Class HalfDiagonalWallModel
Inherits BaseModel
Public Sub New()
Me.ID = 18
Dim vertexData = New VertexPositionNormalTexture() {
New VertexPositionNormalTexture(New Vector3(-0.5, -0.5, 0), Vector3.Backward, New Vector2(0.0, 1.0)), 'AB
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, 0), Vector3.Backward, New Vector2(0.0, 0.0)), 'CD
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, -0.5), Vector3.Backward, New Vector2(1.0, 1.0)), 'F
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, 0), Vector3.Backward, New Vector2(0.0, 0.0)), 'CD
New VertexPositionNormalTexture(New Vector3(0.5, 0.5, -0.5), Vector3.Backward, New Vector2(1.0, 0.0)), 'G
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, -0.5), Vector3.Backward, New Vector2(1.0, 1.0)), 'F
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, -0.5), Vector3.Backward, New Vector2(1.0, 1.0)), 'F
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, 0), Vector3.Backward, New Vector2(0.0, 0.0)), 'CD
New VertexPositionNormalTexture(New Vector3(-0.5, -0.5, 0), Vector3.Backward, New Vector2(0.0, 1.0)), 'AB
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, -0.5), Vector3.Backward, New Vector2(1.0, 1.0)), 'F
New VertexPositionNormalTexture(New Vector3(0.5, 0.5, -0.5), Vector3.Backward, New Vector2(1.0, 0.0)), 'G
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, 0), Vector3.Backward, New Vector2(0.0, 0.0)) 'CD
}
Setup(vertexData)
End Sub
End Class