diff --git a/include/bx/easing.h b/include/bx/easing.h index 776e637..2159c2e 100644 --- a/include/bx/easing.h +++ b/include/bx/easing.h @@ -14,6 +14,56 @@ namespace bx { + struct Easing + { + enum Enum + { + Linear, + InQuad, + OutQuad, + InOutQuad, + OutInQuad, + InCubic, + OutCubic, + InOutCubic, + OutInCubic, + InQuart, + OutQuart, + InOutQuart, + OutInQuart, + InQuint, + OutQuint, + InOutQuint, + OutInQuint, + InSine, + OutSine, + InOutSine, + OutInSine, + InExpo, + OutExpo, + InOutExpo, + OutInExpo, + InCirc, + OutCirc, + InOutCirc, + OutInCirc, + InElastic, + OutElastic, + InOutElastic, + OutInElastic, + InBack, + OutBack, + InOutBack, + OutInBack, + InBounce, + OutBounce, + InOutBounce, + OutInBounce, + + Count + }; + }; + typedef float (*EaseFn)(float _t); template