KudanAR - iOS  1.6.0
GLM_GTX_orthonormalize

Orthonormalize matrices. More...

Functions

template<typename T , precision P>
GLM_FUNC_DECL tmat3x3< T, P > glm::orthonormalize (tmat3x3< T, P > const &m)
 
template<typename T , precision P>
GLM_FUNC_DECL tvec3< T, P > glm::orthonormalize (tvec3< T, P > const &x, tvec3< T, P > const &y)
 

Detailed Description

Orthonormalize matrices.

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

Function Documentation

◆ orthonormalize() [1/2]

template<typename T , precision P>
GLM_FUNC_DECL tmat3x3<T, P> glm::orthonormalize ( tmat3x3< T, P > const &  m)

Returns the orthonormalized matrix of m.

See also
GLM_GTX_orthonormalize

◆ orthonormalize() [2/2]

template<typename T , precision P>
GLM_FUNC_DECL tvec3<T, P> glm::orthonormalize ( tvec3< T, P > const &  x,
tvec3< T, P > const &  y 
)

Orthonormalizes x according y.

See also
GLM_GTX_orthonormalize