Ray.copy constructor

Ray.copy(Ray other)

Create a ray as a copy of other.

Implementation

Ray.copy(Ray other)
    : _origin = new Vector3.copy(other._origin),
      _direction = new Vector3.copy(other._direction);