|
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation, 2008
//
// File: CubicEase.cs
//------------------------------------------------------------------------------
namespace System.Windows.Media.Animation
{
/// <summary>
/// This class implements an easing function that gives a cubic curve toward the destination
/// </summary>
public class CubicEase : EasingFunctionBase
{
protected override double EaseInCore(double normalizedTime)
{
return normalizedTime * normalizedTime * normalizedTime;
}
protected override Freezable CreateInstanceCore()
{
return new CubicEase();
}
}
}
|