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