set method

Ray set(
  1. Vector3 origin,
  2. Vector3 direction
)

Sets the given values to this ray.

Implementation

Ray set(Vector3 origin, Vector3 direction ) {
	this.origin = origin;
	this.direction = direction;

	return this;
}