Ray constructor

const Ray(
  1. Point origin,
  2. Point direction
)

Implementation

const Ray(this.origin, this.direction);