BCSTM-Player |
This commit is contained in:
38
external/tween-engine/include/TweenEngine/equations/Bounce.h
vendored
Normal file
38
external/tween-engine/include/TweenEngine/equations/Bounce.h
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
//
|
||||
// Bounce.h
|
||||
//
|
||||
// This code is derived from Universal Tween Engine
|
||||
// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#ifndef __Bounce__
|
||||
#define __Bounce__
|
||||
|
||||
#include <TweenEngine/TweenEquation.h>
|
||||
|
||||
namespace TweenEngine
|
||||
{
|
||||
class BounceIn : public TweenEquation
|
||||
{
|
||||
~BounceIn();
|
||||
float compute(float t);
|
||||
const char *toString();
|
||||
};
|
||||
|
||||
class BounceOut : public TweenEquation
|
||||
{
|
||||
~BounceOut();
|
||||
float compute(float t);
|
||||
const char *toString();
|
||||
};
|
||||
|
||||
class BounceInOut : public TweenEquation
|
||||
{
|
||||
~BounceInOut();
|
||||
float compute(float t);
|
||||
const char *toString();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif /* defined(__Bounce__) */
|
Reference in New Issue
Block a user