17 #include "../vec3.hpp" 18 #include "../mat3x3.hpp" 19 #include "../geometric.hpp" 21 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 22 # ifndef GLM_ENABLE_EXPERIMENTAL 23 # pragma message("GLM: GLM_GTX_orthonormalize is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.") 25 # pragma message("GLM: GLM_GTX_orthonormalize extension included") 37 template<
typename T, qualifier Q>
38 GLM_FUNC_DECL mat<3, 3, T, Q>
orthonormalize(mat<3, 3, T, Q>
const& m);
43 template<
typename T, qualifier Q>
44 GLM_FUNC_DECL vec<3, T, Q>
orthonormalize(vec<3, T, Q>
const& x, vec<3, T, Q>
const& y);
49 #include "orthonormalize.inl" Core features
Definition: common.hpp:20
GLM_FUNC_DECL mat< 3, 3, T, Q > orthonormalize(mat< 3, 3, T, Q > const &m)
Returns the orthonormalized matrix of m.
Definition: orthonormalize.inl:6