0.9.7: perpendicular.hpp Source File

| 0.9.7

- Main Page
- Modules
- Files

- File List

perpendicular.hpp
Go to the documentation of this file.
1
43 #pragma once
44
45 // Dependency:
46 #include "../glm.hpp"
47 #include "../gtx/projection.hpp"
48
49 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
50 # pragma message("GLM: GLM_GTX_perpendicular extension included")
51 #endif
52
53 namespace glm
54 {
57
60 template <typename vecType>
61 GLM_FUNC_DECL vecType perp(
62 vecType const & x,
63 vecType const & Normal);
64
66 }//namespace glm
67
68 #include "perpendicular.inl"
glm::perp
GLM_FUNC_DECL vecType perp(vecType const &x, vecType const &Normal)
Projects x a perpendicular axis of Normal.
glm
Definition: _noise.hpp:40