//////////////////////////////////////////////////////////////////////////////////////////////////// // NoesisGUI - http://www.noesisengine.com // Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// #ifndef __GUI_IEASINGFUNCTION_H__ #define __GUI_IEASINGFUNCTION_H__ #include #include namespace Noesis { //////////////////////////////////////////////////////////////////////////////////////////////////// /// Defines the basic functionality of an easing function. //////////////////////////////////////////////////////////////////////////////////////////////////// NS_INTERFACE IEasingFunction: public Interface { /// Transforms normalized time to control the pace of an animation virtual float Ease(float normalizedTime) = 0; NS_IMPLEMENT_INLINE_REFLECTION_(IEasingFunction, Interface) }; } #endif