;枕木＆ばらすと
CreateMeshBuilder
AddVertex,-1.325,-0.144,+25.2
AddVertex,+1.325,-0.144,+25.2
AddVertex,-2.5,-0.45,+25.2
AddVertex,-1.325,-0.144,+25.2
AddVertex,+1.325,-0.144,+25.2
AddVertex,+2.5,-0.45,+25.2
AddFace,0,1,
AddFace,2,3,
AddFace,4,5,
GenerateNormals

LoadTexture,Ballast02.bmp
SetTextureCoordinates,0,0.25,19
SetTextureCoordinates,1,0.75,19
SetTextureCoordinates,2,0,19
SetTextureCoordinates,3,0.25,19
SetTextureCoordinates,4,0.75,19
SetTextureCoordinates,5,1,19



;左レール
CreateMeshBuilder
AddVertex,-0.7855,0,0
AddVertex,-0.7175,0,0
AddVertex,-0.7855,0,+25.2
AddVertex,-0.7175,0,+25.2
AddFace,1,0,2,3
GenerateNormals
LoadTexture,Rail2.bmp
SetTextureCoordinates,0,0.40625,0
SetTextureCoordinates,1,0.59375,1
SetTextureCoordinates,2,0.40625,1
SetTextureCoordinates,3,0.59375,0




;右レール
CreateMeshBuilder
AddVertex,+0.7175,0,0
AddVertex,+0.7855,0,0
AddVertex,+0.7175,0,+25.2
AddVertex,+0.7855,0,+25.2
AddFace,1,0,2,3
GenerateNormals
LoadTexture,Rail2.bmp
SetTextureCoordinates,0,0.40625,0
SetTextureCoordinates,1,0.59375,1
SetTextureCoordinates,2,0.40625,1
SetTextureCoordinates,3,0.59375,0


;∩左
CreateMeshBuilder
AddVertex,-0.7855,-0.144,0
AddVertex,-0.7855,0,0
AddVertex,-0.7855,-0.144,+25.2
AddVertex,-0.7855,0,+25.2
AddFace,1,0,2,3
GenerateNormals
LoadTexture,Rail2.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.40625,1
SetTextureCoordinates,2,0,1
SetTextureCoordinates,3,0.40625,0





CreateMeshBuilder
AddVertex,-0.7175,0,0
AddVertex,-0.7175,-0.144,0
AddVertex,-0.7175,0,+25.2
AddVertex,-0.7175,-0.144,+25.2
AddFace,1,0,2,3
GenerateNormals
LoadTexture,Rail2.bmp
SetTextureCoordinates,0,0.59375,0
SetTextureCoordinates,1,1,1
SetTextureCoordinates,2,0.59375,1
SetTextureCoordinates,3,1,0



;∩右
CreateMeshBuilder
AddVertex,+0.7175,-0.144,0
AddVertex,+0.7175,0,0
AddVertex,+0.7175,-0.144,+25.2
AddVertex,+0.7175,0,+25.2
AddFace,1,0,2,3
GenerateNormals
LoadTexture,Rail2.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.40625,1
SetTextureCoordinates,2,0,1
SetTextureCoordinates,3,0.40625,0




CreateMeshBuilder
AddVertex,+0.7855,0,0
AddVertex,+0.7855,-0.144,0
AddVertex,+0.7855,0,+25.2
AddVertex,+0.7855,-0.144,+25.2
AddFace,1,0,2,3
GenerateNormals
LoadTexture,Rail2.bmp
SetTextureCoordinates,0,0.59375,0
SetTextureCoordinates,1,1,1
SetTextureCoordinates,2,0.59375,1
SetTextureCoordinates,3,1,0


[Constant]
;架線

CreateMeshBuilder
AddVertex,0.012,5.1,0
AddVertex,0.012,5.1,25.2
AddVertex,-0.012,5.1,25.2
AddVertex,-0.012,5.1,0
AddFace2,0,1,2,3
SetColor,64,64,64
GenerateNormals

CreateMeshBuilder
AddVertex,0.008,5.7,0
AddVertex,0.008,5.7,25.2
AddVertex,-0.008,5.7,25.2
AddVertex,-0.008,5.7,0
AddFace2,0,1,2,3
SetColor,192,176,160
GenerateNormals

CreateMeshBuilder
AddVertex,-0.06,5.7,4.167
AddVertex,0,5.76,4.167
AddVertex,0.06,5.7,4.167
AddVertex,0,5.64,4.167
AddFace,0,1,2,3
SetColor,64,64,64
GenerateNormals

CreateMeshBuilder
AddVertex,-0.06,5.7,12.5
AddVertex,0,5.76,12.5
AddVertex,0.06,5.7,12.5
AddVertex,0,5.64,12.5
AddFace,0,1,2,3
SetColor,64,64,64
GenerateNormals

CreateMeshBuilder
AddVertex,-0.06,5.7,20.883
AddVertex,0,5.76,20.883
AddVertex,0.06,5.7,20.883
AddVertex,0,5.64,20.883
AddFace,0,1,2,3
SetColor,64,64,64GenerateNormals

