LinearAlgebra
 All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | List of all members
a3d::Matrix4< T, M >::Interpolator Struct Reference

Struct performing interpolation between two matrices. More...

Public Member Functions

 Interpolator (const Matrix4< T, M > &m1, const Matrix4< T, M > &m2)
 Create an interpolation between the specified matrices. More...
 
template<class S >
Matrix4< T, M > operator() (S t)
 Get the interpolated matrix. More...
 

Detailed Description

template<class T, class M = Math<T>>
struct a3d::Matrix4< T, M >::Interpolator

Struct performing interpolation between two matrices.

Constructor & Destructor Documentation

template<class T, class M = Math<T>>
a3d::Matrix4< T, M >::Interpolator::Interpolator ( const Matrix4< T, M > &  m1,
const Matrix4< T, M > &  m2 
)
inline

Create an interpolation between the specified matrices.

References a3d::Matrix4< T, M >::separate().

Here is the call graph for this function:

Member Function Documentation

template<class T, class M = Math<T>>
template<class S >
Matrix4<T,M> a3d::Matrix4< T, M >::Interpolator::operator() ( t)
inline

Get the interpolated matrix.

References a3d::Matrix4< T, M >::m.