copyFrom method

void copyFrom (Ray other)

Copy the origin and direction from other into this.

Implementation

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