Sets the parameters for this ray according to the arguments.
Reference to this ray.
point1 and point2 construct a semi-infinite line starting at point1, and passing through point2. The points cannot be coincident.