aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/glm/gtx/perpendicular.inl
blob: 426064829b8a9173d7abb4da45814a731fdeb19f (plain)
1
2
3
4
5
6
7
8
9
10
/// @ref gtx_perpendicular

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