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