Sign in
cobalt
/
cobalt
/
c53efd6b6f8ddbcad01c167340ec04b3fd9d0604
/
.
/
src
/
third_party
/
glm
/
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