17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 06:59:13 +01:00
Files
maszyna/ref/glm/glm/gtx/perpendicular.inl
2018-10-12 17:45:01 +02:00

12 lines
235 B
C++

/// @ref gtx_perpendicular
/// @file glm/gtx/perpendicular.inl
namespace glm
{
template<typename genType>
GLM_FUNC_QUALIFIER genType perp(genType const& x, genType const& Normal)
{
return x - proj(x, Normal);
}
}//namespace glm