0.9.9 API documenation
Functions
GLM_GTX_orthonormalize

Orthonormalize matrices. More...

Functions

template<typename T , qualifier P>
GLM_FUNC_DECL mat< 3, 3, T, P > orthonormalize (mat< 3, 3, T, P > const &m)
 Returns the orthonormalized matrix of m. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL vec< 3, T, P > orthonormalize (vec< 3, T, P > const &x, vec< 3, T, P > const &y)
 Orthonormalizes x according y. More...
 

Detailed Description

Orthonormalize matrices.

<glm/gtx/orthonormalize.hpp> need to be included to use these functionalities.

Function Documentation

GLM_FUNC_DECL mat<3, 3, T, P> glm::orthonormalize ( mat< 3, 3, T, P > const &  m)

Returns the orthonormalized matrix of m.

See also
GLM_GTX_orthonormalize
GLM_FUNC_DECL vec<3, T, P> glm::orthonormalize ( vec< 3, T, P > const &  x,
vec< 3, T, P > const &  y 
)

Orthonormalizes x according y.

See also
GLM_GTX_orthonormalize