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