Error in aligning rectangle

i want to make view cones of the guy viewing into the windows.
but the end rectangle of the loft isnt aligning with the windows I’ve made
how to fix this?


Draw lines from the guy’s eyeball to each corner (Discontinuity) of the window rectangles, then extend them. The green rectangles are obviously way off.

3. Attach minimal versions of all the relevant files

You might want to look at IsoVist Ray