summaryrefslogblamecommitdiffstats
path: root/depedencies/include/glm/gtx/perpendicular.inl
blob: 08a7a815e152ab3470f4a5b42459446cdc2741fb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                           
/// @ref gtx_perpendicular
/// @file glm/gtx/perpendicular.inl

namespace glm
{
	template <typename vecType> 
	GLM_FUNC_QUALIFIER vecType perp
	(
		vecType const & x, 
		vecType const & Normal
	)
	{
		return x - proj(x, Normal);
	}
}//namespace glm