at method

dynamic at(
  1. num t,
  2. dynamic target
)

Implementation

at(num t, target) {
  return target.copy(direction).multiplyScalar(t).add(origin);
}