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