0.9.7
|
Functions | |
template<typename T , precision P> | |
GLM_FUNC_DECL tmat3x3< T, P > | orthonormalize (tmat3x3< T, P > const &m) |
template<typename T , precision P> | |
GLM_FUNC_DECL tvec3< T, P > | orthonormalize (tvec3< T, P > const &x, tvec3< T, P > const &y) |
Orthonormalize matrices.
<glm/gtx/orthonormalize.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL tmat3x3<T, P> glm::orthonormalize | ( | tmat3x3< T, P > const & | m | ) |
Returns the orthonormalized matrix of m.
GLM_FUNC_DECL tvec3<T, P> glm::orthonormalize | ( | tvec3< T, P > const & | x, |
tvec3< T, P > const & | y | ||
) |
Orthonormalizes x according y.