lerpVector2d

Linearly interpolates between two Vector2d objects.

Return

A new Vector2d that is linearly interpolated between start and end.

Parameters

start

The starting Vector2d.

end

The ending Vector2d.

t

The interpolation parameter, where 0.0 returns start, 1.0 returns end, and values in between return a Vector2d linearly interpolated between start and end.