refactor(Dalamud): switch to file-scoped namespaces

This commit is contained in:
goat 2021-11-17 19:42:32 +01:00
parent 13cf3d93dc
commit b5f34c3199
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
325 changed files with 45878 additions and 46218 deletions

View file

@ -1,27 +1,26 @@
using System;
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);
}
}