1 /// @ref gtx_perpendicular
2 /// @file glm/gtx/perpendicular.hpp
3 ///
4 /// @see core (dependence)
5 /// @see gtx_projection (dependence)
6 ///
7 /// @defgroup gtx_perpendicular GLM_GTX_perpendicular
8 /// @ingroup gtx
9 ///
10 /// @brief Perpendicular of a vector from other one
11 ///
12 /// <glm/gtx/perpendicular.hpp> need to be included to use these functionalities.
13 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtx/projection.hpp"
19 
20 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
21 #	pragma message("GLM: GLM_GTX_perpendicular extension included")
22 #endif
23 
24 namespace glm
25 {
26 	/// @addtogroup gtx_perpendicular
27 	/// @{
28 
29 	//! Projects x a perpendicular axis of Normal.
30 	//! From GLM_GTX_perpendicular extension.
31 	template <typename vecType>
32 	GLM_FUNC_DECL vecType perp(
33 		vecType const & x,
34 		vecType const & Normal);
35 
36 	/// @}
37 }//namespace glm
38 
39 #include "perpendicular.inl"
40