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