Castor3D
..
|
Template class which handles the interpolations, would it be quaternion, point, real, ... interpolations. More...
Public Member Functions | |
Interpolator () | |
Constructor. More... | |
~Interpolator () | |
Destructor. More... | |
virtual C3D_API Type | Interpolate (Type const &p_src, Type const &p_dst, real p_percent) const =0 |
Interpolation function. More... | |
Template class which handles the interpolations, would it be quaternion, point, real, ... interpolations.
|
inline |
Constructor.
|
inline |
Destructor.
|
pure virtual |
Interpolation function.
[in] | p_src | The start. |
[in] | p_dst | The end. |
[in] | p_percent | The percentage. |
Implemented in Castor3D::InterpolatorT< Castor::Quaternion, eINTERPOLATOR_MODE_LINEAR >, Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >, and Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_NONE >.