diff --git a/CountdownLabel/LTMorphingLabel/LTEasing.swift b/CountdownLabel/LTMorphingLabel/LTEasing.swift index d265652..291b45d 100644 --- a/CountdownLabel/LTMorphingLabel/LTEasing.swift +++ b/CountdownLabel/LTMorphingLabel/LTEasing.swift @@ -18,7 +18,7 @@ public struct LTEasing { public static func easeOutQuint(_ t: Float, _ b: Float, _ c: Float, _ d: Float = 1.0) -> Float { return { - return c * ($0 * $0 * $0 * $0 * $0 + 1.0) + b + return c * (pow($0, 5) + 1.0) + b }(t / d - 1.0) }