master
ブランチ master
VulkanExample / dep / include / glm / gtx / perpendicular.inl
209 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