copyAt method

void copyAt (Vector3 other, double t)

Copy the position on this with a distance of t from origin into other.

Implementation

void copyAt(Vector3 other, double t) {
  other
    ..setFrom(_direction)
    ..scale(t)
    ..add(_origin);
}