No need to sample multiple points along the wall if we can just properly calculate the actual distance. :)