Functions
GLM_GTX_decomposition

Decomposes a model matrix to translations, rotation and scale components. More...

Collaboration diagram for GLM_GTX_decomposition:

Functions

template<typename T , precision P>
GLM_FUNC_DECL bool glm::decompose (detail::tmat4x4< T, P > const &modelMatrix, detail::tvec3< T, P > &scale, detail::tquat< T, P > &orientation, detail::tvec3< T, P > &translation, detail::tvec3< T, P > &skew, detail::tvec4< T, P > &perspective)
 

Detailed Description

Decomposes a model matrix to translations, rotation and scale components.

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

Function Documentation

◆ decompose()

template<typename T , precision P>
GLM_FUNC_DECL bool glm::decompose ( detail::tmat4x4< T, P > const &  modelMatrix,
detail::tvec3< T, P > &  scale,
detail::tquat< T, P > &  orientation,
detail::tvec3< T, P > &  translation,
detail::tvec3< T, P > &  skew,
detail::tvec4< T, P > &  perspective 
)

Decomposes a model matrix to translations, rotation and scale components

See also
GLM_GTX_decomposition


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