|
MPMA Framework 0.4
|
some common interpolation stuff More...
Go to the source code of this file.
Namespaces | |
| namespace | GEO |
Geometry library. | |
Functions | |
| template<typename T > | |
| T | GEO::Lerp (const T &e0, const T &e1, float w) |
| interpolates between two value, with w as the interpolator between 0 and 1 | |
| template<typename T > | |
| T | GEO::Bilerp (const T &e00, const T &e10, const T &e01, const T &e11, float x, float y) |
| bilinearly interpolates between four value (with x and y from 0 to 1) | |
| template<typename T > | |
| T | GEO::AdjustTowardsTarget (const T ¤t, const T &target, const T &change) |
| adjust current in the direction of target by at most change | |
some common interpolation stuff
1.7.4