Tweeny
3
A Tweening library for modern C++
|
◆ via() [1/2]
Specifies the easing function for the last added currentPoint. This will specify the easing between the last tween currentPoint added by If it is a multi-value currentPoint, you can either specify a single easing function that will be used for every value or you can specify an easing function for each value. You can mix and match callable objects, lambdas and bundled easing objects. Example: // use bundled linear easing auto tween1 = tweeny::from(0).to(100).via(tweeny::easing::linear); // use custom lambda easing
|