setRayFromStartToEnd() parameter changed by YC & SB