tweeny
tweeny copied to clipboard
multiple enumeration support
I would like to set everything via enumeration, but alas it can only be done with the first parameter.
auto tween = tweeny::from(0.f, 0.f).to(1.f, 1.f).during(5000).via(tweeny::easing::enumerated::backIn, tweeny::easing::enumerated::bounceIn);
I get an error
tweeny.h(1016,23): error C2679: binary '=': no operator found which takes a right-hand operand of type 'F1' (or there is no acceptable conversion)
1> with
1> [
1> F1=tweeny::easing::enumerated
1> ]
I'm aware of this problem, just hadn't the time to fix this (and others) yet. Thanks for the issue.
Can the following methods be used? auto tween = tweeny::from(0.f, 0.f).to(1.f, 1.f).during(5000). via(tweeny::easing::backIn, tweeny::easing::bounceIn);