voxel-engine/lib/glm/gtx/perpendicular.inl

11 lines
209 B
Plaintext
Raw Permalink Normal View History

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