set method

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

Implementation

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

  return this;
}