set method

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

Implementation

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

  return this;
}