
                        face.append(1 + stepX)
                    lastHeight = distX
                    break
                distX = distX + deltaX
            else:
                mapY = mapY + stepY
                if arena[mapX][mapY]:
                    if thisRow != mapY or thisSide != 1:
                        if i > 0:
                            data.append(i)
                            data.append(lastHeight)
                        data.append(i)
                        data.append(distY)
