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