CreateMeshBuilder

AddVertex,-2.1, -1.5, -0.9,
AddVertex,-2.1, -3, -0.9,
AddVertex,-.5, -3.5, -0.9,
AddVertex,-.5, -10, -0.9,

AddVertex,5.9, -1.5, -0.9,
AddVertex,5.9, -3, -0.9,
AddVertex,4.3, -3.5, -0.9,
AddVertex,4.3, -10, -0.9,

AddFace,1,0,4,5
AddFace,2,1,5,6
AddFace,3,2,6,7

GenerateNormals

LoadTexture,Pier.bmp,

SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,0.176
SetTextureCoordinates,2,0.4,0.235
SetTextureCoordinates,3,0.4,1
SetTextureCoordinates,4,2,0
SetTextureCoordinates,5,2,0.176
SetTextureCoordinates,6,1.6,0.235
SetTextureCoordinates,7,1.6,1

CreateMeshBuilder

AddVertex,-2.1, -1.5, -0.9,
AddVertex,-2.1, -3, -0.9,
AddVertex,-.5, -3.5, -0.9,
AddVertex,-.5, -10, -0.9,

AddVertex,-2.1, -1.5, 0.9,
AddVertex,-2.1, -3, 0.9,
AddVertex,-.5, -3.5, 0.9,
AddVertex,-.5, -10, 0.9,

AddFace,5,4,0,1
AddFace,6,5,1,2
AddFace,7,6,2,3

GenerateNormals

LoadTexture,Pier.bmp,

SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,1,0.176
SetTextureCoordinates,2,1,0.235
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0,0
SetTextureCoordinates,5,0,0.176
SetTextureCoordinates,6,0,0.235
SetTextureCoordinates,7,0,1

CreateMeshBuilder

AddVertex,5.9, -1.5, -0.9,
AddVertex,5.9, -3, -0.9,
AddVertex,4.3, -3.5, -0.9,
AddVertex,4.3, -10, -0.9,

AddVertex,5.9, -1.5, 0.9,
AddVertex,5.9, -3, 0.9,
AddVertex,4.3, -3.5, 0.9,
AddVertex,4.3, -10, 0.9,

AddFace,1,0,4,5
AddFace,2,1,5,6
AddFace,3,2,6,7

GenerateNormals

LoadTexture,Pier.bmp,

SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,0.176
SetTextureCoordinates,2,0,0.235
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,1,0
SetTextureCoordinates,5,1,0.176
SetTextureCoordinates,6,1,0.235
SetTextureCoordinates,7,1,1
