pointAt method

Vector3 pointAt(
  1. double t
)

Returns a point along the ray at distance t.

Implementation

Vector3 pointAt(double t) => origin + direction * t;