Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
CPP-API: Utility class to simplify interpolations of various data types. More...
#include <anim.h>
Public Member Functions | |
void | operator() (T &anim_out, const T &a, const T &b, ai_real d) const |
Get the result of the interpolation between a,b. More... | |
CPP-API: Utility class to simplify interpolations of various data types.
The type of interpolation is chosen automatically depending on the types of the arguments.
|
inline |
Get the result of the interpolation between a,b.
The interpolation algorithm depends on the type of the operands. aiQuaternion's and aiQuatKey's SLERP, the rest does a simple linear interpolation.