1 Perspective transformation is achieved through scale division calculations to compute screen coordinates for wall left/right sides and floor/ceiling heights.
“This transformation is accomplished by these 'scale' division calculations. From the perspective transformations, we get screen coordinates: An X coordinate for the left side of the wall and an X coordinate for the right side of the wall, and a Y coordinate for the floor and ceiling heights in both sides of the wall.”