CreateMeshBuilder,
AddVertex,0.8,0.75,-12.5,
AddVertex,-0.8,0.75,-12.5,
AddVertex,-1,0.75,-10.7,
AddVertex,-1,0.75,-2.3,
AddVertex,-0.8,0.75,-0.5,
AddVertex,0.8,0,-12.5,
AddVertex,-0.8,0,-12.5,
AddVertex,-1,0,-10.7,
AddVertex,-1,0,-2.3,
AddVertex,-0.8,0,-0.5,
AddFace,5,6,1,0,
AddFace,6,7,2,1,
AddFace,7,8,3,2,
AddFace,8,9,4,3,
GenerateNormals,

LoadTexture,tram3.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.171875,0,
SetTextureCoordinates,2,0.289065,0,
SetTextureCoordinates,3,0.88672,0,
SetTextureCoordinates,4,1,0,
SetTextureCoordinates,5,0,1,
SetTextureCoordinates,6,0.171875,1,
SetTextureCoordinates,7,0.289065,1,
SetTextureCoordinates,8,0.88672,1,
SetTextureCoordinates,9,1,1,

CreateMeshBuilder,
AddVertex,-0.8,0.75,-0.5,
AddVertex,0.8,0.75,-0.5,
AddVertex,1,0.75,-2.3,
AddVertex,1,0.75,-10.7,
AddVertex,0.8,0.75,-12.5,
AddVertex,-0.8,0,-0.5,
AddVertex,0.8,0,-0.5,
AddVertex,1,0,-2.3,
AddVertex,1,0,-10.7,
AddVertex,0.8,0,-12.5,
AddFace,5,6,1,0,
AddFace,6,7,2,1,
AddFace,7,8,3,2,
AddFace,8,9,4,3,
GenerateNormals,

LoadTexture,tram3.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.171875,0,
SetTextureCoordinates,2,0.289065,0,
SetTextureCoordinates,3,0.88672,0,
SetTextureCoordinates,4,1,0,
SetTextureCoordinates,5,0,1,
SetTextureCoordinates,6,0.171875,1,
SetTextureCoordinates,7,0.289065,1,
SetTextureCoordinates,8,0.88672,1,
SetTextureCoordinates,9,1,1,

;Dach
CreateMeshBuilder,
AddVertex,0.8,0.75,-12.5,
AddVertex,-0.8,0.75,-12.5,
AddVertex,1,0.75,-10.7,
AddVertex,-1,0.75,-10.7,
AddVertex,1,0.75,-2.3,
AddVertex,-1,0.75,-2.3,
AddVertex,0.8,0.75,-0.5,
AddVertex,-0.8,0.75,-0.5,
AddFace,0,1,3,2,
AddFace,2,3,5,4,
AddFace,4,5,7,6,
SetColor,60,60,60,,

GenerateNormals,

