1.10 |
Cubic Bezier equation easing function. More...
#include <easing.h>
Public Member Functions | |
constexpr | easing_cubic_bezier (EasingScalar p0=0.42, EasingScalar p1=0, EasingScalar p2=0.58, EasingScalar p3=1) noexcept |
EasingScalar | operator() (EasingScalar p) |
Get the easing value. | |
Public Attributes | |
EasingScalar | m_p0 {} |
Point of the cubic-bezier function. | |
EasingScalar | m_p1 {} |
Point of the cubic-bezier function. | |
EasingScalar | m_p2 {} |
Point of the cubic-bezier function. | |
EasingScalar | m_p3 {} |
Point of the cubic-bezier function. | |
Cubic Bezier equation easing function.
|
inlineexplicitconstexprnoexcept |
[in] | p0 | Point of the cubic-bezier function. |
[in] | p1 | Point of the cubic-bezier function. |
[in] | p2 | Point of the cubic-bezier function. |
[in] | p3 | Point of the cubic-bezier function. |
EasingScalar operator() | ( | EasingScalar | p | ) |
Get the easing value.
EasingScalar m_p0 {} |
Point of the cubic-bezier function.
EasingScalar m_p1 {} |
Point of the cubic-bezier function.
EasingScalar m_p2 {} |
Point of the cubic-bezier function.
EasingScalar m_p3 {} |
Point of the cubic-bezier function.