
;----------roues----------

;Gauche
CreateMeshBuilder,
AddVertex,-0.791, 0.46, 0.46
AddVertex,-0.791, 0.46,-0.46
AddVertex,-0.791,-0.46,-0.46
AddVertex,-0.791,-0.46, 0.46
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
Cylinder, 46, 0.46, 0.46, 0.08
Rotate, 0, 0, 1, 90
Translate,-0.75, 0.00, 0.00
SetColor, 70, 70, 70

CreateMeshBuilder,
Cylinder, 50, 0.50, 0.50, 0.02
Rotate, 0, 0, 1, 90
Translate,-0.70, 0.00, 0.00
SetColor, 50, 50, 50


;Droite
CreateMeshBuilder,
AddVertex, 0.791, 0.46,-0.46
AddVertex, 0.791, 0.46, 0.46
AddVertex, 0.791,-0.46, 0.46
AddVertex, 0.791,-0.46,-0.46
AddFace2,0,1,2,3,

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

CreateMeshBuilder,
Cylinder, 92, 0.46, 0.46, 0.08
Rotate, 0, 0, 1, 90
Translate, 0.75, 0.00, 0.00
SetColor, 70, 70, 70

CreateMeshBuilder,
Cylinder, 50, 0.50, 0.50, 0.02
Rotate, 0, 0, 1, 90
Translate, 0.70, 0.00, 0.00
SetColor, 50, 50, 50


;cardans
CreateMeshBuilder,
Cylinder, 10, 0.08, 0.08, 1.50
Rotate, 0, 0, 1, 90
Translate, 0.00, 0.00, 0.00
SetColor, 60, 60, 60

