Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::InterpolatorT< DataT, InterpolatorType::eLinear > Class Template Reference

Partial specialisation of InterpolatorT, for InterpolatorType::eLinear. More...

#include <Interpolator.hpp>

Inheritance diagram for castor3d::InterpolatorT< DataT, InterpolatorType::eLinear >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::InterpolatorT< DataT, InterpolatorType::eLinear >:
Collaboration graph
[legend]

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

- Protected Member Functions inherited from castor3d::Interpolator< DataT >
virtual ~Interpolator ()=default
 

Detailed Description

template<class DataT>
class castor3d::InterpolatorT< DataT, InterpolatorType::eLinear >

Partial specialisation of InterpolatorT, for InterpolatorType::eLinear.

Author
Sylvain DOREMUS
Version
0.8.0
Date
24/01/2016

Member Function Documentation

◆ interpolate()

template<class DataT >
DataT castor3d::InterpolatorT< DataT, InterpolatorType::eLinear >::interpolate ( DataT const &  src,
DataT const &  dst,
float  percent 
) const
inlineoverridevirtual

Interpolation function.

Parameters
[in]srcThe start.
[in]dstThe end.
[in]percentThe percentage.

Implements castor3d::Interpolator< DataT >.


The documentation for this class was generated from the following file: