Tweeny  3.2.0
A Tweening library for modern C++

◆ to()

tween<T, Ts...>& to ( t,
Ts...  vs 
)

Adds a new point in this tweening.

This will add a new tweening point with the specified values. Next calls to via and during will refer to this point.

Example

auto t = tweeny::from(0).to(100).to(200);
tween< Ts... > from(Ts... vs)
Creates a tween starting from the values defined in the arguments.
Parameters
t,vsPoint values
Returns
*this