glm/glm/gtx/perpendicular.inl
Christophe Riccio 78879c675c Refactor headers
2018-08-05 15:22:49 +02:00

11 lines
199 B
C++

/// @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