| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | #pragma once |
| 15 | |
| 16 | |
| 17 | #include "../vec3.hpp" |
| 18 | #include "../mat3x3.hpp" |
| 19 | #include "../geometric.hpp" |
| 20 | |
| 21 | #ifndef GLM_ENABLE_EXPERIMENTAL |
| 22 | # error "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." |
| 23 | #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) |
| 24 | # pragma message("GLM: GLM_GTX_orthonormalize extension included") |
| 25 | #endif |
| 26 | |
| 27 | namespace glm |
| 28 | { |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | template<typename T, qualifier Q> |
| 36 | GLM_FUNC_DECL mat<3, 3, T, Q> orthonormalize(mat<3, 3, T, Q> const& m); |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | template<typename T, qualifier Q> |
| 42 | GLM_FUNC_DECL vec<3, T, Q> orthonormalize(vec<3, T, Q> const& x, vec<3, T, Q> const& y); |
| 43 | |
| 44 | |
| 45 | } |
| 46 | |
| 47 | #include "orthonormalize.inl" |