;柱1
;手前
CreateMeshBuilder,,,,
AddVertex,-13.9,6,0,
AddVertex,-13.4,6,0,
AddVertex,-13.4,-0.45,0,
AddVertex,-13.9,-0.45,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;奥
CreateMeshBuilder,,,,
AddVertex,-13.9,-0.45,0.5,
AddVertex,-13.4,-0.45,0.5,
AddVertex,-13.4,6,0.5,
AddVertex,-13.9,6,0.5,
AddFace,0,1,2,3,
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;右
CreateMeshBuilder,,,,
AddVertex,-13.4,6,0,
AddVertex,-13.4,6,0.5,
AddVertex,-13.4,-0.45,0.5,
AddVertex,-13.4,-0.45,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;柱2
;手前
CreateMeshBuilder,,,,
AddVertex,-13.9,6,7.5,
AddVertex,-13.4,6,7.5,
AddVertex,-13.4,-0.45,7.5,
AddVertex,-13.9,-0.45,7.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;奥
CreateMeshBuilder,,,,
AddVertex,-13.9,-0.45,8.5,
AddVertex,-13.4,-0.45,8.5,
AddVertex,-13.4,6,8.5,
AddVertex,-13.9,6,8.5,
AddFace,0,1,2,3,
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;右
CreateMeshBuilder,,,,
AddVertex,-13.4,6,7.5,
AddVertex,-13.4,6,8.5,
AddVertex,-13.4,-0.45,8.5,
AddVertex,-13.4,-0.45,7.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;柱3
;手前
CreateMeshBuilder,,,,
AddVertex,-13.9,6,15.5,
AddVertex,-13.4,6,15.5,
AddVertex,-13.4,-0.45,15.5,
AddVertex,-13.9,-0.45,15.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;奥
CreateMeshBuilder,,,,
AddVertex,-13.9,-0.45,16.5,
AddVertex,-13.4,-0.45,16.5,
AddVertex,-13.4,6,16.5,
AddVertex,-13.9,6,16.5,
AddFace,0,1,2,3,
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;右
CreateMeshBuilder,,,,
AddVertex,-13.4,6,15.5,
AddVertex,-13.4,6,16.5,
AddVertex,-13.4,-0.45,16.5,
AddVertex,-13.4,-0.45,15.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;柱4
;手前
CreateMeshBuilder,,,,
AddVertex,-13.9,6,24.5,
AddVertex,-13.4,6,24.5,
AddVertex,-13.4,-0.45,24.5,
AddVertex,-13.9,-0.45,24.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;奥
CreateMeshBuilder,,,,
AddVertex,-13.9,-0.45,25,
AddVertex,-13.4,-0.45,25,
AddVertex,-13.4,6,25,
AddVertex,-13.9,6,25,
AddFace,0,1,2,3,
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;右
CreateMeshBuilder,,,,
AddVertex,-13.4,6,24.5,
AddVertex,-13.4,6,25,
AddVertex,-13.4,-0.45,25,
AddVertex,-13.4,-0.45,24.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;天井
CreateMeshBuilder,,,,
AddVertex,-13.9,6,25,
AddVertex,-13.9,6,0,
AddVertex,2,6,0,
AddVertex,2,6,25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;床
CreateMeshBuilder,,,,
AddVertex,2,-0.45,25,
AddVertex,2,-0.45,0,
AddVertex,-13.9,-0.45,0,
AddVertex,-13.9,-0.45,25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel2.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetColor,55,55,55

;左壁1
CreateMeshBuilder,,,,
AddVertex,-13.9,6,0.5,
AddVertex,-13.9,6,7.5,
AddVertex,-13.9,-0.45,7.5,
AddVertex,-13.9,-0.45,0.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;左壁2
CreateMeshBuilder,,,,
AddVertex,-13.9,6,8.5,
AddVertex,-13.9,6,15.5,
AddVertex,-13.9,-0.45,15.5,
AddVertex,-13.9,-0.45,8.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;左壁3
CreateMeshBuilder,,,,
AddVertex,-13.9,6,16.5,
AddVertex,-13.9,6,24.5,
AddVertex,-13.9,-0.45,24.5,
AddVertex,-13.9,-0.45,16.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Tunnel.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,