Unravel Engine C++ Reference
Loading...
Searching...
No Matches
matrix_recompose.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  math
 
namespace  math::detail
 

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_QUALIFIER T math::detail::length_impl (vec< L, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > math::detail::combine_impl (vec< 3, T, Q > const &a, vec< 3, T, Q > const &b, T ascl, T bscl)
 Make a linear combination of two vectors and return the result.
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > math::detail::scale_impl (vec< 3, T, Q > const &v, T desiredLength)
 
template<typename T >
GLM_FUNC_QUALIFIER T math::detail::scale_fix (T &in)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > math::detail::scale_fix (vec< 3, T, Q > const &scale)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 4, 4, T, Q > math::recompose_impl (vec< 3, T, Q > const &scale, qua< T, Q > const &orientation, vec< 3, T, Q > const &translation, vec< 3, T, Q > const &skew, vec< 4, T, Q > const &perspective)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER void math::glm_recompose (mat< 4, 4, T, Q > &model_matrix, vec< 3, T, Q > const &in_scale, qua< T, Q > const &in_orientation, vec< 3, T, Q > const &in_translation, vec< 3, T, Q > const &in_skew, vec< 4, T, Q > const &in_perspective)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER bool math::glm_decompose (mat< 4, 4, T, Q > const &ModelMatrix, vec< 3, T, Q > &Scale, qua< T, Q > &Orientation, vec< 3, T, Q > &Translation, vec< 3, T, Q > &Skew, vec< 4, T, Q > &Perspective)