You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this would be the right place, but as far as I can tell, the only place to find all the easing function names is in the Ghoul source code:
EasingFunc<T> easingFunction(EasingFunction func) {
switch (func) {
case EasingFunction::Linear: return linear<T>;
case EasingFunction::QuadraticEaseIn: return quadraticEaseIn<T>;
case EasingFunction::QuadraticEaseOut: return quadraticEaseOut<T>;
case EasingFunction::QuadraticEaseInOut: return quadraticEaseInOut<T>;
case EasingFunction::CubicEaseIn: return cubicEaseIn<T>;
case EasingFunction::CubicEaseOut: return cubicEaseOut<T>;
case EasingFunction::CubicEaseInOut: return cubicEaseInOut<T>;
case EasingFunction::QuarticEaseIn: return quarticEaseIn<T>;
case EasingFunction::QuarticEaseOut: return quarticEaseOut<T>;
case EasingFunction::QuarticEaseInOut: return quarticEaseInOut<T>;
case EasingFunction::QuinticEaseIn: return quinticEaseIn<T>;
case EasingFunction::QuinticEaseOut: return quinticEaseOut<T>;
case EasingFunction::QuinticEaseInOut: return quinticEaseInOut<T>;
case EasingFunction::SineEaseIn: return sineEaseIn<T>;
case EasingFunction::SineEaseOut: return sineEaseOut<T>;
case EasingFunction::SineEaseInOut: return sineEaseInOut<T>;
case EasingFunction::CircularEaseIn: return circularEaseIn<T>;
case EasingFunction::CircularEaseOut: return circularEaseOut<T>;
case EasingFunction::CircularEaseInOut: return circularEaseInOut<T>;
case EasingFunction::ExponentialEaseIn: return exponentialEaseIn<T>;
case EasingFunction::ExponentialEaseOut: return exponentialEaseOut<T>;
case EasingFunction::ExponentialEaseInOut: return exponentialEaseInOut<T>;
case EasingFunction::ElasticEaseIn: return elasticEaseIn<T>;
case EasingFunction::ElasticEaseOut: return elasticEaseOut<T>;
case EasingFunction::ElasticEaseInOut: return elasticEaseInOut<T>;
case EasingFunction::BounceEaseIn: return bounceEaseIn<T>;
case EasingFunction::BounceEaseOut: return bounceEaseOut<T>;
case EasingFunction::BounceEaseInOut: return bounceEaseInOut<T>;
default: throw ghoul::MissingCaseException();
}
}
Maybe the list could be somewhere in either the wiki and/or the actual documentation?
(anyway, now it's here too :)
The text was updated successfully, but these errors were encountered:
I'm not sure if this would be the right place, but as far as I can tell, the only place to find all the easing function names is in the Ghoul source code:
Maybe the list could be somewhere in either the wiki and/or the actual documentation?
(anyway, now it's here too :)
The text was updated successfully, but these errors were encountered: