Sign in
android
/
platform
/
external
/
oboe
/
eae4cf6515ca3365f68f3dd9dcbb95efbe0ef919
/
.
/
samples
/
RhythmGame
/
third_party
/
glm
/
gtx
/
perpendicular.inl
blob: 08a7a815e152ab3470f4a5b42459446cdc2741fb [
file
] [
log
] [
blame
]
/// @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