lerpVec static method

Vec lerpVec(
  1. Vec a,
  2. Vec b,
  3. double t
)

Implementation

static Vec lerpVec(Vec a, Vec b, double t) =>
    Vec(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t);