Castor3D  ..
Public Member Functions | List of all members
Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR > Class Template Reference

Partial specialisation of Interpolator, for eINTERPOLATOR_MODE_LINEAR. More...

+ Inheritance diagram for Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >:
+ Collaboration diagram for Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >:

Public Member Functions

 InterpolatorT ()
 Constructor. More...
 
 ~InterpolatorT ()
 Destructor. More...
 
Type Interpolate (Type const &p_src, Type const &p_dst, real p_percent) const
 Interpolation function. More...
 
- Public Member Functions inherited from Castor3D::Interpolator< Type >
 Interpolator ()
 Constructor. More...
 
 ~Interpolator ()
 Destructor. More...
 

Detailed Description

template<class Type>
class Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >

Partial specialisation of Interpolator, for eINTERPOLATOR_MODE_LINEAR.

Author
Sylvain DOREMUS
Version
0.8.0
Date
24/01/2016

Constructor & Destructor Documentation

◆ InterpolatorT()

template<class Type >
Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >::InterpolatorT ( )
inline

Constructor.

◆ ~InterpolatorT()

template<class Type >
Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >::~InterpolatorT ( )
inline

Destructor.

Member Function Documentation

◆ Interpolate()

template<class Type >
Type Castor3D::InterpolatorT< Type, eINTERPOLATOR_MODE_LINEAR >::Interpolate ( Type const &  p_src,
Type const &  p_dst,
real  p_percent 
) const
inlinevirtual

Interpolation function.

Parameters
[in]p_srcThe start.
[in]p_dstThe end.
[in]p_percentThe percentage.

Implements Castor3D::Interpolator< Type >.


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