Revert "refactor(Dalamud): switch to file-scoped namespaces"

This reverts commit b5f34c3199.
This commit is contained in:
goat 2021-11-18 15:23:40 +01:00
parent d473826247
commit 1561fbac00
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
325 changed files with 45549 additions and 45209 deletions

View file

@ -1,26 +1,27 @@
using System;
using System;
namespace Dalamud.Interface.Animation.EasingFunctions;
/// <summary>
/// Class providing an "InOutCubic" easing animation.
/// </summary>
public class InOutCubic : Easing
namespace Dalamud.Interface.Animation.EasingFunctions
{
/// <summary>
/// Initializes a new instance of the <see cref="InOutCubic"/> class.
/// Class providing an "InOutCubic" easing animation.
/// </summary>
/// <param name="duration">The duration of the animation.</param>
public InOutCubic(TimeSpan duration)
: base(duration)
public class InOutCubic : Easing
{
// ignored
}
/// <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
}
/// <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);
}
}
}