GLM: orthonormalize.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

orthonormalize.hpp
Go to the documentation of this file.
1
39 #ifndef GLM_GTX_orthonormalize
40 #define GLM_GTX_orthonormalize
41
42 // Dependency:
43 #include "../glm.hpp"
44
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_orthonormalize extension included")
47 #endif
48
49 namespace glm
50 {
53
56 template <typename T, precision P>
57 detail::tmat3x3<T, P> orthonormalize(
58 const detail::tmat3x3<T, P>& m);
59
62 template <typename T, precision P>
63 detail::tvec3<T, P> orthonormalize(
64 const detail::tvec3<T, P>& x,
65 const detail::tvec3<T, P>& y);
66
68 }//namespace glm
69
70 #include "orthonormalize.inl"
71
72 #endif//GLM_GTX_orthonormalize
glm::orthonormalize
detail::tmat3x3< T, P > orthonormalize(const detail::tmat3x3< T, P > &m)
Returns the orthonormalized matrix of m.