A game framework written with osu! in mind.
at master 18 lines 655 B view raw
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. 2// See the LICENCE file in the repository root for full licence text. 3 4namespace osu.Framework.Graphics.Transforms 5{ 6 /// <summary> 7 /// An interface for an easing function that is applied to <see cref="Transform{TValue}"/>s. 8 /// </summary> 9 public interface IEasingFunction 10 { 11 /// <summary> 12 /// Applies the easing function to a time value. 13 /// </summary> 14 /// <param name="time">The time value to apply the easing to.</param> 15 /// <returns>The eased time value.</returns> 16 double ApplyEasing(double time); 17 } 18}