Flow Visualisation

Add extra transformation matrices. More...

Collaboration diagram for GLM_GTX_transform2:

Functions

template<typename T >
detail::tmat3x3< T > glm::shearX2D (detail::tmat3x3< T > const &m, T y)
 
template<typename T >
detail::tmat3x3< T > glm::shearY2D (detail::tmat3x3< T > const &m, T x)
 
template<typename T >
detail::tmat4x4< T > glm::shearX3D (const detail::tmat4x4< T > &m, T y, T z)
 
template<typename T >
detail::tmat4x4< T > glm::shearY3D (const detail::tmat4x4< T > &m, T x, T z)
 
template<typename T >
detail::tmat4x4< T > glm::shearZ3D (const detail::tmat4x4< T > &m, T x, T y)
 
template<typename T >
detail::tmat3x3< T > glm::proj2D (const detail::tmat3x3< T > &m, const detail::tvec3< T > &normal)
 
template<typename T >
detail::tmat4x4< T > glm::proj3D (const detail::tmat4x4< T > &m, const detail::tvec3< T > &normal)
 
template<typename valType >
detail::tmat4x4< valType > glm::scaleBias (valType scale, valType bias)
 
template<typename valType >
detail::tmat4x4< valType > glm::scaleBias (detail::tmat4x4< valType > const &m, valType scale, valType bias)
 

Detailed Description

Add extra transformation matrices.

<glm/gtx/transform2.hpp> need to be included to use these functionalities.

Function Documentation

template<typename T >
detail::tmat3x3<T> glm::proj2D ( const detail::tmat3x3< T > &  m,
const detail::tvec3< T > &  normal 
)

Build planar projection matrix along normal axis. From GLM_GTX_transform2 extension.

template<typename T >
detail::tmat4x4<T> glm::proj3D ( const detail::tmat4x4< T > &  m,
const detail::tvec3< T > &  normal 
)

Build planar projection matrix along normal axis. From GLM_GTX_transform2 extension.

template<typename valType >
detail::tmat4x4<valType> glm::scaleBias ( valType  scale,
valType  bias 
)

Build a scale bias matrix. From GLM_GTX_transform2 extension.

template<typename valType >
detail::tmat4x4<valType> glm::scaleBias ( detail::tmat4x4< valType > const &  m,
valType  scale,
valType  bias 
)

Build a scale bias matrix. From GLM_GTX_transform2 extension.

template<typename T >
detail::tmat3x3<T> glm::shearX2D ( detail::tmat3x3< T > const &  m,
T  y 
)

Transforms a matrix with a shearing on X axis. From GLM_GTX_transform2 extension.

template<typename T >
detail::tmat4x4<T> glm::shearX3D ( const detail::tmat4x4< T > &  m,
T  y,
T  z 
)

Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension.

template<typename T >
detail::tmat3x3<T> glm::shearY2D ( detail::tmat3x3< T > const &  m,
T  x 
)

Transforms a matrix with a shearing on Y axis. From GLM_GTX_transform2 extension.

template<typename T >
detail::tmat4x4<T> glm::shearY3D ( const detail::tmat4x4< T > &  m,
T  x,
T  z 
)

Transforms a matrix with a shearing on Y axis. From GLM_GTX_transform2 extension.

template<typename T >
detail::tmat4x4<T> glm::shearZ3D ( const detail::tmat4x4< T > &  m,
T  x,
T  y 
)

Transforms a matrix with a shearing on Z axis. From GLM_GTX_transform2 extension.