Perform a linear-interpolation from vector A to vector B by t. t can be either a scalar or a Vec2.