Game Development Reference
In-Depth Information
7.1.2.6Exponential
double expo(double t)
{
return t == 0 ? 0 : pow(2, 10 * (t - 1));
}
Curve
Example
animation(m_alpha, 0.f, 1.f,
curves::ease_in<curves::expo>);
Ease In
animation(m_alpha, 0.f, 1.f,
curves::ease_out<curves::expo>);
Ease Out
animation(m_alpha, 0.f, 1.f,
curves::ease_in_out<curves::expo>);
Ease In/Out
Search WWH ::




Custom Search