master
ブランチ master
ShaderPlayground / deps / glm / glm / gtx / perpendicular.inl
199 B、10行 生 Blame 履歴
1/// @ref gtx_perpendicular
2
3namespace glm
4{
5 template<typename genType>
6 GLM_FUNC_QUALIFIER genType perp(genType const& x, genType const& Normal)
7 {
8 return x - proj(x, Normal);
9 }
10}//namespace glm