Vector4D lerp(Vector4D o, double amount) => .vec4( x + amount*(o.x - x), y + amount*(o.y - y), z + amount*(o.z - z), w + amount*(o.w - w), );