We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f66edbd + 570bf83 commit 00bed98Copy full SHA for 00bed98
1 file changed
CountdownLabel/LTMorphingLabel/LTEasing.swift
@@ -18,7 +18,7 @@ public struct LTEasing {
18
19
public static func easeOutQuint(_ t: Float, _ b: Float, _ c: Float, _ d: Float = 1.0) -> Float {
20
return {
21
- return c * ($0 * $0 * $0 * $0 * $0 + 1.0) + b
+ return c * (pow($0, 5) + 1.0) + b
22
}(t / d - 1.0)
23
}
24
0 commit comments