22 #ifndef ANIMATIONEQUATIONS_H
23 #define ANIMATIONEQUATIONS_H
41 time = time / duration;
42 return initial + (
final - initial) * time;
46 time = time / duration;
47 return initial + (
final - initial) * (time * time);
51 time = time / duration;
52 return initial + (
final - initial) * (time * time * time);
56 time = time / duration;
57 return initial + (
final - initial) * (time * time * time * time);
61 time = time / duration;
62 return initial + (
final - initial) * (time ^ (strength / 10));
66 time =
PValue(1) - time / duration;
67 return initial + (
final - initial) * (
PValue(1) - time * time);
71 time =
PValue(1) - time / duration;
72 return initial + (
final - initial) * (
PValue(1) - time * time * time);
76 time =
PValue(1) - time / duration;
77 return initial + (
final - initial) * (
PValue(1) - time * time * time * time);
81 time =
PValue(1) - time / duration;
82 return initial + (
final - initial) * (
PValue(1) - (time ^ (strength / 10)));