sockscape/client/include/glm/gtx/perpendicular.inl
2018-08-13 14:16:46 -05:00

10 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