Determines the squared distance between the straight light defined by the base vector s and the direction vector r the point p