
;手前
CreateMeshBuilder,,,,
AddVertex,0,1.100000,-0.500000,
AddVertex,0.100000,1.100000,-0.500000,
AddVertex,0.100000,0.2,-0.500000,
AddVertex,0,0.2,-0.500000,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Door.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;奥
CreateMeshBuilder,,,,
AddVertex,0.100000,1.100000,0.5,
AddVertex,0,1.100000,0.5,
AddVertex,0,0.2,0.5,
AddVertex,0.100000,0.2,0.5,
AddFace,0,1,2,3,
GenerateNormals,
LoadTexture,Door.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,


;左
CreateMeshBuilder,,,,
AddVertex,0,1.100000,0.5,
AddVertex,0,1.100000,-0.500000,
AddVertex,0,0.2,-0.500000,
AddVertex,0,0.2,0.5,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Door.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,255,255,255,白透過

;右
CreateMeshBuilder,,,,
AddVertex,0.100000,1.100000,-0.500000,
AddVertex,0.100000,1.100000,0.5,
AddVertex,0.100000,0.2,0.5,
AddVertex,0.100000,0.2,-0.500000,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Door.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,255,255,255,白透過

;上
CreateMeshBuilder,,,,
AddVertex,0,1.100000,-0.5,
AddVertex,0,1.100000,0.500000,
AddVertex,0.100000,1.100000,0.5,
AddVertex,0.100000,1.100000,-0.500000,

AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Door.bmp
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,255,255,255,白透過