Functions

Add extra transformation matrices. More...

Collaboration diagram for GLM_GTX_transform2:

Functions

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

Detailed Description

Add extra transformation matrices.

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

Function Documentation

◆ proj2D()

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

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

◆ proj3D()

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

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

◆ scaleBias() [1/2]

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

Build a scale bias matrix. From GLM_GTX_transform2 extension.

◆ scaleBias() [2/2]

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

Build a scale bias matrix. From GLM_GTX_transform2 extension.

◆ shearX2D()

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

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

◆ shearX3D()

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

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

◆ shearY2D()

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

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

◆ shearY3D()

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

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

◆ shearZ3D()

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

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



rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26