sockscape/include/client/glm/gtx/perpendicular.inl

11 lines
199 B
Text
Raw Normal View History

2018-08-13 19:16:46 +00:00
/// @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