summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/perpendicular.inl
blob: 3b99eed87b73e5dc6d07a40196b5752c71615584 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/// @ref gtx_perpendicular
/// @file glm/gtx/perpendicular.inl

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