Template Function TRAP::Math::Recompose(const Vec<3, T>&, const tQuat<T>&, const Vec<3, T>&)#
Function Documentation#
-
template<typename T>
constexpr Mat<4, 4, T> TRAP::Math::Recompose(const Vec<3, T> &position, const tQuat<T> &rotation, const Vec<3, T> &scale)# Recomopse a matrix from its position, rotation and scale components.
- Parameters:
position – Position to recompose.
rotation – Rotation to recompose.
scale – Scale to recompose.
- Returns:
Recomposed matrix.