renderd7/external/tween-engine/include/TweenEngine/equations/Expo.h
2021-07-23 13:58:16 +00:00

38 lines
716 B
C++

//
// Expo.h
//
// This code is derived from Universal Tween Engine
// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
//
#ifndef __Expo__
#define __Expo__
#include <TweenEngine/TweenEquation.h>
namespace TweenEngine
{
class ExpoIn : public TweenEquation
{
~ExpoIn();
float compute(float t);
const char *toString();
};
class ExpoOut : public TweenEquation
{
~ExpoOut();
float compute(float t);
const char *toString();
};
class ExpoInOut : public TweenEquation
{
~ExpoInOut();
float compute(float t);
const char *toString();
};
}
#endif /* defined(__Expo__) */