;front
CreateMeshBuilder,
addvertex,10,0.6,0,
addvertex,10,100,0,
addvertex,-10,100,0,
addvertex,-10,0.6,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,flats2front.png,
SetTextureCoordinates,0,0,4,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.48,0,
SetTextureCoordinates,3,0.48,4,

;back
CreateMeshBuilder,
addvertex,10,0.6,40,
addvertex,10,100,40,
addvertex,-10,100,40,
addvertex,-10,0.6,40,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,flats2front.png,
SetTextureCoordinates,0,0,4,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.48,0,
SetTextureCoordinates,3,0.48,4,

;rightside 
CreateMeshBuilder,
addvertex,10,100,0,
addvertex,10,100,40,
addvertex,10,0.6,40,
addvertex,10,0.6,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,flats2front.png,
SetTextureCoordinates,0,0.48,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0,4,
SetTextureCoordinates,3,0.48,4,

;leftside 
CreateMeshBuilder,
addvertex,-10,100,0,
addvertex,-10,100,40,
addvertex,-10,0.6,40,
addvertex,-10,0.6,0,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,flats2front.png,
SetTextureCoordinates,0,0.48,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0,4,
SetTextureCoordinates,3,0.48,4,
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;front
CreateMeshBuilder,
addvertex,20,0.6,10,
addvertex,20,100,10,
addvertex,10,100,10,
addvertex,10,0.6,10,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,flats4front.png,
SetTextureCoordinates,0,0,4,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.5,0,
SetTextureCoordinates,3,0.5,4,


;front
CreateMeshBuilder,
addvertex,40,0.6,0,
addvertex,40,100,0,
addvertex,20,100,0,
addvertex,20,0.6,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,flats2front.png,
SetTextureCoordinates,0,0,4,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.48,0,
SetTextureCoordinates,3,0.48,4,

;leftside 
CreateMeshBuilder,
addvertex,20,100,0,
addvertex,20,100,40,
addvertex,20,0.6,40,
addvertex,20,0.6,0,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,flats2front.png,
SetTextureCoordinates,0,0.48,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0,4,
SetTextureCoordinates,3,0.48,4,

