Ray.originDirection constructor

Ray.originDirection(Vector3 origin, Vector3 direction)

Create a ray with an origin and a direction.

Implementation

Ray.originDirection(Vector3 origin, Vector3 direction)
    : _origin = new Vector3.copy(origin),
      _direction = new Vector3.copy(direction);