Better easings and motion but I need better data.
This commit is contained in:
parent
f8158a3ea9
commit
949bbd4f15
10 changed files with 75 additions and 17 deletions
13
easings.hpp
13
easings.hpp
|
|
@ -9,7 +9,18 @@ namespace ease {
|
|||
OUT_CIRC=2,
|
||||
OUT_BOUNCE=3,
|
||||
IN_OUT_BACK=4,
|
||||
FUCKFACE
|
||||
RANDOM=5,
|
||||
NORM_DIST=6
|
||||
};
|
||||
|
||||
enum Motion {
|
||||
RUSH=0,
|
||||
SHAKE=1,
|
||||
BOUNCE=2,
|
||||
SQUEEZE=3,
|
||||
SQUASH=4,
|
||||
STRETCH=5,
|
||||
GROW=6
|
||||
};
|
||||
|
||||
inline double sine(double x) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue