0.9.6
orthonormalize.hpp
Go to the documentation of this file.
1 
39 #pragma once
40 
41 // Dependency:
42 #include "../glm.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_orthonormalize extension included")
46 #endif
47 
48 namespace glm
49 {
52 
55  template <typename T, precision P>
56  GLM_FUNC_DECL tmat3x3<T, P> orthonormalize(
57  const tmat3x3<T, P>& m);
58 
61  template <typename T, precision P>
62  GLM_FUNC_DECL tvec3<T, P> orthonormalize(
63  const tvec3<T, P>& x,
64  const tvec3<T, P>& y);
65 
67 }//namespace glm
68 
69 #include "orthonormalize.inl"
GLM_FUNC_DECL tvec3< T, P > orthonormalize(const tvec3< T, P > &x, const tvec3< T, P > &y)
Orthonormalizes x according y.
Definition: _noise.hpp:31