Cheetah Software
1.0
|
Functions | |
template<typename y_t , typename x_t > | |
y_t | lerp (y_t y0, y_t yf, x_t x) |
template<typename y_t , typename x_t > | |
y_t | cubicBezier (y_t y0, y_t yf, x_t x) |
template<typename y_t , typename x_t > | |
y_t | cubicBezierFirstDerivative (y_t y0, y_t yf, x_t x) |
template<typename y_t , typename x_t > | |
y_t | cubicBezierSecondDerivative (y_t y0, y_t yf, x_t x) |
y_t Interpolate::cubicBezier | ( | y_t | y0, |
y_t | yf, | ||
x_t | x | ||
) |
Cubic bezier interpolation between y0 and yf. x is between 0 and 1
Definition at line 29 of file Interpolation.h.
y_t Interpolate::cubicBezierFirstDerivative | ( | y_t | y0, |
y_t | yf, | ||
x_t | x | ||
) |
Cubic bezier interpolation derivative between y0 and yf. x is between 0 and 1
Definition at line 43 of file Interpolation.h.
y_t Interpolate::cubicBezierSecondDerivative | ( | y_t | y0, |
y_t | yf, | ||
x_t | x | ||
) |
Cubic bezier interpolation derivative between y0 and yf. x is between 0 and 1
Definition at line 57 of file Interpolation.h.
y_t Interpolate::lerp | ( | y_t | y0, |
y_t | yf, | ||
x_t | x | ||
) |
Linear interpolation between y0 and yf. x is between 0 and 1
Definition at line 18 of file Interpolation.h.