Tweeny  3
A Tweening library for modern C++

◆ to()

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

Adds a new currentPoint in this tweening.

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

Example

auto t = tweeny::from(0).to(100).to(200);
Parameters
t,vsPoint values
Returns
*this