;----------Boggie----------

;Gauche
CreateMeshBuilder,
AddVertex,-0.792, 0.82, 1.835,
AddVertex,-0.792, 0.82,-1.835,
AddVertex,-0.792, 0.00,-1.835,
AddVertex,-0.792, 0.00, 1.835,
AddFace2, 0,1,2,3,

LoadTexture, Bogies_2.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
SetDecalTransparentColor, 192,192,192,

CreateMeshBuilder,
AddVertex,-0.892, 0.82, 1.835,
AddVertex,-0.892, 0.82,-1.835,
AddVertex,-0.892, 0.00,-1.835,
AddVertex,-0.892, 0.00, 1.835,
AddFace2, 0,1,2,3,

LoadTexture, Bogies_2.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
SetDecalTransparentColor, 192,192,192,

CreateMeshBuilder,
AddVertex,-0.992, 0.82, 1.835,
AddVertex,-0.992, 0.82,-1.835,
AddVertex,-0.992, 0.00,-1.835,
AddVertex,-0.992, 0.00, 1.835,
AddFace2, 0,1,2,3,

LoadTexture, Bogies_2.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
SetDecalTransparentColor, 192,192,192,

;Droite
CreateMeshBuilder,
AddVertex, 0.792, 0.82,-1.835,
AddVertex, 0.792, 0.82, 1.835,
AddVertex, 0.792, 0.00, 1.835,
AddVertex, 0.792, 0.00,-1.835,
AddFace2, 0,1,2,3,

LoadTexture, Bogies_1.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
SetDecalTransparentColor, 192,192,192,

CreateMeshBuilder,
AddVertex, 0.892, 0.82,-1.835,
AddVertex, 0.892, 0.82, 1.835,
AddVertex, 0.892, 0.00, 1.835,
AddVertex, 0.892, 0.00,-1.835,
AddFace2, 0,1,2,3,

LoadTexture, Bogies_1.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
SetDecalTransparentColor, 192,192,192,

CreateMeshBuilder,
AddVertex, 0.992, 0.82,-1.835,
AddVertex, 0.992, 0.82, 1.835,
AddVertex, 0.992, 0.00, 1.835,
AddVertex, 0.992, 0.00,-1.835,
AddFace2, 0,1,2,3,

LoadTexture, Bogies_1.png,
SetTextureCoordinates, 0,0,0,
SetTextureCoordinates, 1,1,0,
SetTextureCoordinates, 2,1,1,
SetTextureCoordinates, 3,0,1,
SetDecalTransparentColor, 192,192,192,


CreateMeshBuilder,
Cube, 0.60, 0.32, 0.80
Translate, 0.00, 0.62, 0.00
SetColor, 20, 20, 20



