![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
Handles the Quaternion linear interpolations. More...
#include <Interpolator.hpp>
Public Member Functions | |
castor::Quaternion | interpolate (castor::Quaternion const &src, castor::Quaternion const &dst, float percent) const override |
Interpolation function. More... | |
virtual C3D_API castor::Quaternion | interpolate (castor::Quaternion const &src, castor::Quaternion const &dst, float percent) const=0 |
Interpolation function. More... | |
Additional Inherited Members | |
![]() | |
virtual | ~Interpolator ()=default |
Handles the Quaternion linear interpolations.
|
inlineoverridevirtual |
Interpolation function.
[in] | src | The start. |
[in] | dst | The end. |
[in] | percent | The percentage. |
Implements castor3d::Interpolator< castor::Quaternion >.