xref: /aosp_15_r20/external/oboe/samples/RhythmGame/third_party/glm/gtx/perpendicular.inl (revision 05767d913155b055644481607e6fa1e35e2fe72c)
1/// @ref gtx_perpendicular
2/// @file glm/gtx/perpendicular.inl
3
4namespace glm
5{
6	template <typename vecType>
7	GLM_FUNC_QUALIFIER vecType perp
8	(
9		vecType const & x,
10		vecType const & Normal
11	)
12	{
13		return x - proj(x, Normal);
14	}
15}//namespace glm
16