0.9.7
orthonormalize.hpp
Go to the documentation of this file.
1 
43 #pragma once
44 
45 // Dependency:
46 #include "../vec3.hpp"
47 #include "../mat3x3.hpp"
48 #include "../geometric.hpp"
49 
50 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
51 # pragma message("GLM: GLM_GTX_orthonormalize extension included")
52 #endif
53 
54 namespace glm
55 {
58 
62  template <typename T, precision P>
63  GLM_FUNC_DECL tmat3x3<T, P> orthonormalize(tmat3x3<T, P> const & m);
64 
68  template <typename T, precision P>
69  GLM_FUNC_DECL tvec3<T, P> orthonormalize(tvec3<T, P> const & x, tvec3<T, P> const & y);
70 
72 }//namespace glm
73 
74 #include "orthonormalize.inl"
GLM_FUNC_DECL tvec3< T, P > orthonormalize(tvec3< T, P > const &x, tvec3< T, P > const &y)
Orthonormalizes x according y.
Definition: _noise.hpp:40