mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-19 15:14:18 +01:00
Revert "refactor(Dalamud): switch to file-scoped namespaces"
This reverts commit b5f34c3199.
This commit is contained in:
parent
d473826247
commit
1561fbac00
325 changed files with 45549 additions and 45209 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue