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

Handles the Quaternion linear interpolations. More...

#include <Interpolator.hpp>

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

Public Member Functions

castor::Quaternion interpolate (castor::Quaternion const &src, castor::Quaternion const &dst, float percent) const override
 Interpolation function. More...
 
virtual C3D_API castor::Quaternion interpolate (castor::Quaternion const &src, castor::Quaternion const &dst, float percent) const=0
 Interpolation function. More...
 

Additional Inherited Members

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

Detailed Description

Handles the Quaternion linear interpolations.

Author
Sylvain DOREMUS
Version
0.1
Date
09/02/2010

Member Function Documentation

◆ interpolate()

castor::Quaternion castor3d::InterpolatorT< castor::Quaternion, InterpolatorType::eLinear >::interpolate ( castor::Quaternion const &  src,
castor::Quaternion const &  dst,
float  percent 
) const
inlineoverridevirtual

Interpolation function.

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

Implements castor3d::Interpolator< castor::Quaternion >.


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