Simple lerp function. If I remember correct, it's on each axis, since it doesn't take 2D vector. But as you see it is open source, go check it out.
Oh thanks... must not have noticed the open source lol