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