Sets this square with the result of interpolation from one square to another square by a factor.
the square from which the interpolation starts.
the square at which the interpolation ends.
the interpolation factor which is expected to be in the range of [0, 1].