along the calculated angle for that column before hitting a wall. In fact you need to figure out where on that block it would hit. From the location on the block you can figure out which column of the block's texture/image to draw. Using the distance you can figure how big to scale it. Then draw the scaled column of the block's image/texture with a ceiling color above and a floor color after.
0そうだね プレイ済み