Make the ray/line intersection return true if the line hits the exact beginning or end of a ray