Castor3D 0.16.0
Multiplatform 3D engine
|
Handles the Quaternion linear interpolations. More...
#include <Interpolator.hpp>
Public Member Functions | |
InterpolatorT () | |
castor::Quaternion | interpolate (castor::Quaternion const &src, castor::Quaternion const &dst, float percent) const override |
Interpolation function. | |
Public Member Functions inherited from castor3d::Interpolator< castor::Quaternion > | |
virtual C3D_API | ~Interpolator () noexcept=default |
InterpolatorType | getType () const |
Additional Inherited Members | |
Protected Member Functions inherited from castor3d::Interpolator< castor::Quaternion > | |
Interpolator (InterpolatorType type) | |
Handles the Quaternion linear interpolations.
|
inline |
References castor3d::eLinear.
|
inlineoverridevirtual |
Interpolation function.
[in] | src | The start. |
[in] | dst | The end. |
[in] | percent | The percentage. |
Implements castor3d::Interpolator< castor::Quaternion >.
References castor::QuaternionT< T >::slerp().