I see in the latest Beta doc that a new vector function is coming:

vec_lerp(vec v,vec v1,vec v2,var f)
interpolates the vector v between v1 and v2 according to the factor f.

Formula:
v = (1-f)*v1 + f*v2

Can someone explain to me what this is and in what context it can be used?

A *tiny* code example would be wonderful...

Thanks!

-WildCat


Visit us at [url=http://www.vertexgames.com]Vertex Games[/url]!