copyFrom method

void copyFrom(
  1. Ray other
)

Copy the origin and direction from other into this.

Implementation

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