27 lines
1.5 KiB
VB.net
27 lines
1.5 KiB
VB.net
|
Public Class DoubleFloorModel
|
|||
|
|
|||
|
Inherits BaseModel
|
|||
|
|
|||
|
Public Sub New()
|
|||
|
Me.ID = 14
|
|||
|
|
|||
|
Dim vertexData = New VertexPositionNormalTexture() {
|
|||
|
New VertexPositionNormalTexture(New Vector3(-0.5, -0.5, 0.5), Vector3.Up, New Vector2(0, 1)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(-0.5, -0.5, -0.5), Vector3.Up, New Vector2(0, 0)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, -0.5), Vector3.Up, New Vector2(1, 0)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, -0.5), Vector3.Up, New Vector2(1, 0)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(0.5, -0.5, 0.5), Vector3.Up, New Vector2(1, 1)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(-0.5, -0.5, 0.5), Vector3.Up, New Vector2(0, 1)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, 0.5), Vector3.Up, New Vector2(0, 1)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, -0.5), Vector3.Up, New Vector2(0, 0)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(0.5, 0.5, -0.5), Vector3.Up, New Vector2(1, 0)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(0.5, 0.5, -0.5), Vector3.Up, New Vector2(1, 0)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(0.5, 0.5, 0.5), Vector3.Up, New Vector2(1, 1)),
|
|||
|
New VertexPositionNormalTexture(New Vector3(-0.5, 0.5, 0.5), Vector3.Up, New Vector2(0, 1))
|
|||
|
}
|
|||
|
|
|||
|
Setup(vertexData)
|
|||
|
End Sub
|
|||
|
|
|||
|
End Class
|