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);