Dalamud/Dalamud/Interface/Animation/EasingFunctions/InQuint.cs
goat b36bdb2086 Revert "clamp value of all easings by default"
This reverts commit 1aada98393.
Breaks the API.
2024-12-30 13:59:59 +01:00

24 lines
585 B
C#

namespace Dalamud.Interface.Animation.EasingFunctions;
/// <summary>
/// Class providing an "InQuint" easing animation.
/// </summary>
public class InQuint : Easing
{
/// <summary>
/// Initializes a new instance of the <see cref="InQuint"/> class.
/// </summary>
/// <param name="duration">The duration of the animation.</param>
public InQuint(TimeSpan duration)
: base(duration)
{
// ignored
}
/// <inheritdoc/>
public override void Update()
{
var p = this.Progress;
this.Value = p * p * p * p * p;
}
}