Vector4 lerp(Vector4 v, double alpha) { x += (v.x - x) * alpha; y += (v.y - y) * alpha; z += (v.z - z) * alpha; w += (v.w - w) * alpha; return this; }