revert previous change, didnt account for case where endpoints inside wall but edge intersects wall
revert previous change, didnt account for case where endpoints inside wall but edge intersects wall

jiu9x9uij/cs4733