Game Development Reference
In-Depth Information
7.1.2.8Circular
double circular(double t)
{
return 1 - sqrt(1 - t * t);
}
Curve
Example
animation(m_alpha, 0.f, 1.f,
curves::ease_in<curves::circular>);
Ease In
animation(m_alpha, 0.f, 1.f,
curves::ease_out<curves::circular>);
Ease Out
animation(m_alpha, 0.f, 1.f,
curves::ease_in_out<curves::circular>);
Ease In/Out
Search WWH ::




Custom Search