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

Class which handles the Quaternion linear interpolations. More...

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

Public Member Functions

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

Detailed Description

template<>
class Castor3D::InterpolatorT< Castor::Quaternion, eINTERPOLATOR_MODE_LINEAR >

Class which handles the Quaternion linear interpolations.

Author
Sylvain DOREMUS
Version
0.1
Date
09/02/2010

Constructor & Destructor Documentation

◆ InterpolatorT()

Constructor.

◆ ~InterpolatorT()

Destructor.

Member Function Documentation

◆ Interpolate()

Castor::Quaternion Castor3D::InterpolatorT< Castor::Quaternion, eINTERPOLATOR_MODE_LINEAR >::Interpolate ( Castor::Quaternion const &  p_src,
Castor::Quaternion 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< Castor::Quaternion >.


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