createmeshbuilder;front
addvertex, -1.3, 2.8, 1
addvertex, 1.3, 2.8, 1
addvertex, 1.3, 1, 1
addvertex, -1.3, 1, 1
addface, 0,1,2,3
addface, 3,2,1,0


loadtexture, buff2.png
settexturecoordinates, 0, 0, 0
settexturecoordinates, 1, 1, 0
settexturecoordinates, 2, 1, 1
settexturecoordinates, 3, 0, 1
setdecaltransparentcolor, 0,0,255

;left side,
createmeshbuilder
cube, 0.075,1.65,0.075,
translate, -0.8,-0.5,1.25,
loadtexture,ballast_crossing.png

;right side,
createmeshbuilder
cube, 0.075,1.65,0.075,
translate, 0.8,-0.5,1.25,
loadtexture,ballast_crossing.png

;left side,
createmeshbuilder
cube, 0.075,2.4,0.075,
translate, -0.8,-3.25,2,
rotate,1,0,0,-60
loadtexture,ballast_crossing.png

;right side,
createmeshbuilder
cube, 0.075,2.4,0.075,
translate, 0.8,-3.25,2,
rotate,1,0,0,-60
loadtexture,ballast_crossing.png

