; Kontejner Interpool
; -------------------
; (c) Vince Black, 2009
;
; Vytvořeno použitím fotografií Davida Hájka

; levý bok
CreateMeshBuilder,
AddVertex, -1.22, 0, 6.1,
AddVertex, -1.22, 2.59, 6.1,
AddVertex, -1.22, 2.59, 0,
AddVertex, -1.22, 0, 0,
AddFace, 0, 1, 2, 3,
GenerateNormals,
LoadTexture, kontejner_Interpool_bok.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; dveře
CreateMeshBuilder,
AddVertex, -1.22, 0, 0,
AddVertex, -1.22, 2.59, 0,
AddVertex, 1.22, 2.59, 0,
AddVertex, 1.22, 0, 0,
AddFace, 0, 1, 2, 3,
GenerateNormals,
LoadTexture, kontejner_Interpool_dvere.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; pravý bok
CreateMeshBuilder,
AddVertex, 1.22, 0, 0,
AddVertex, 1.22, 2.59, 0,
AddVertex, 1.22, 2.59, 6.1,
AddVertex, 1.22, 0, 6.1,
AddFace, 0, 1, 2, 3,
GenerateNormals,
LoadTexture, kontejner_Interpool_bok.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; zadek
CreateMeshBuilder,
AddVertex, 1.22, 0, 6.1,
AddVertex, 1.22, 2.59, 6.1,
AddVertex, -1.22, 2.59, 6.1,
AddVertex, -1.22, 0, 6.1,
AddFace, 0, 1, 2, 3,
GenerateNormals,
LoadTexture, kontejner_Interpool_zadek.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; levý přední roh
CreateMeshBuilder,
Cube, 0.08, 0.06, 0.09
Translate, -1.15, 2.55, 0.08
GenerateNormals
LoadTexture, kontejner_Interpool_roh.png
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 
CreateMeshBuilder,
AddVertex, -0.08, 0, 0,
AddVertex, -0.08, 0, 0.18,
AddVertex, 0.08, 0, 0.18,
AddVertex, 0.08, 0, 0,
AddFace, 0, 1, 2, 3,
Translate, -1.15,2.615,-0.01
GenerateNormals,
LoadTexture, kontejner_Interpool_roh.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; pravý přední roh
CreateMeshBuilder,
Cube, 0.08, 0.06, 0.09
Translate, 1.15, 2.55, 0.08
GenerateNormals
LoadTexture, kontejner_Interpool_roh.png
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 
CreateMeshBuilder,
AddVertex, -0.08, 0, 0,
AddVertex, -0.08, 0, 0.18,
AddVertex, 0.08, 0, 0.18,
AddVertex, 0.08, 0, 0,
AddFace, 0, 1, 2, 3,
Translate, 1.15,2.615,-0.01
GenerateNormals,
LoadTexture, kontejner_Interpool_roh.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; levý zadní roh
CreateMeshBuilder,
Cube, 0.08, 0.06, 0.09
Translate, -1.15, 2.55, 6.02
GenerateNormals
LoadTexture, kontejner_Interpool_roh.png
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 
CreateMeshBuilder,
AddVertex, -0.08, 0, 0,
AddVertex, -0.08, 0, 0.18,
AddVertex, 0.08, 0, 0.18,
AddVertex, 0.08, 0, 0,
AddFace, 0, 1, 2, 3,
Translate, -1.15,2.615,5.93
GenerateNormals,
LoadTexture, kontejner_Interpool_roh.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; pravý zadní roh
CreateMeshBuilder,
Cube, 0.08, 0.06, 0.09
Translate, 1.15, 2.55, 6.02
GenerateNormals
LoadTexture, kontejner_Interpool_roh.png
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 
CreateMeshBuilder,
AddVertex, -0.08, 0, 0,
AddVertex, -0.08, 0, 0.18,
AddVertex, 0.08, 0, 0.18,
AddVertex, 0.08, 0, 0,
AddFace, 0, 1, 2, 3,
Translate, 1.15,2.615,5.93
GenerateNormals,
LoadTexture, kontejner_Interpool_roh.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,

; střecha
CreateMeshBuilder,
AddVertex, -1.22, 2.59, 0,
AddVertex, -1.22, 2.59, 6.1,
AddVertex, 1.22, 2.59, 6.1,
AddVertex, 1.22, 2.59, 0,
AddFace, 0, 1, 2, 3,
GenerateNormals,
LoadTexture, kontejner_Interpool_strecha.png,
SetTextureCoordinates, 0, 0, 1,
SetTextureCoordinates, 1, 0, 0,
SetTextureCoordinates, 2, 1, 0,
SetTextureCoordinates, 3, 1, 1,