void copyFrom(Ray other)

Copy the origin and direction from other into this.

Source

void copyFrom(Ray other) {
  _origin.setFrom(other._origin);
  _direction.setFrom(other._direction);
}