copyAt method

void copyAt(
  1. Vector3 other,
  2. 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);
}