mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-20 07:34:17 +01:00
chore: convert Dalamud to file-scoped namespaces
This commit is contained in:
parent
b093323acc
commit
987ff8dc8f
368 changed files with 55081 additions and 55450 deletions
|
|
@ -1,27 +1,26 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Interface.Animation.EasingFunctions
|
||||
namespace Dalamud.Interface.Animation.EasingFunctions;
|
||||
|
||||
/// <summary>
|
||||
/// Class providing an "InOutCubic" easing animation.
|
||||
/// </summary>
|
||||
public class InOutCubic : Easing
|
||||
{
|
||||
/// <summary>
|
||||
/// Class providing an "InOutCubic" easing animation.
|
||||
/// Initializes a new instance of the <see cref="InOutCubic"/> class.
|
||||
/// </summary>
|
||||
public class InOutCubic : Easing
|
||||
/// <param name="duration">The duration of the animation.</param>
|
||||
public InOutCubic(TimeSpan duration)
|
||||
: base(duration)
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="InOutCubic"/> class.
|
||||
/// </summary>
|
||||
/// <param name="duration">The duration of the animation.</param>
|
||||
public InOutCubic(TimeSpan duration)
|
||||
: base(duration)
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
// ignored
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void Update()
|
||||
{
|
||||
var p = this.Progress;
|
||||
this.Value = p < 0.5 ? 4 * p * p * p : 1 - (Math.Pow((-2 * p) + 2, 3) / 2);
|
||||
}
|
||||
/// <inheritdoc/>
|
||||
public override void Update()
|
||||
{
|
||||
var p = this.Progress;
|
||||
this.Value = p < 0.5 ? 4 * p * p * p : 1 - (Math.Pow((-2 * p) + 2, 3) / 2);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue