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