| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | #pragma once |
| 15 | |
| 16 | |
| 17 | #include "../glm.hpp" |
| 18 | #include "../gtx/projection.hpp" |
| 19 | |
| 20 | #ifndef GLM_ENABLE_EXPERIMENTAL |
| 21 | # error "GLM: GLM_GTX_perpendicular 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." |
| 22 | #endif |
| 23 | |
| 24 | #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) |
| 25 | # pragma message("GLM: GLM_GTX_perpendicular extension included") |
| 26 | #endif |
| 27 | |
| 28 | namespace glm |
| 29 | { |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | template<typename genType> |
| 36 | GLM_FUNC_DECL genType perp(genType const& x, genType const& Normal); |
| 37 | |
| 38 | |
| 39 | } |
| 40 | |
| 41 | #include "perpendicular.inl" |