Refactor in C++
This commit is contained in:
parent
8c4b7bff18
commit
abdd19f5e5
445 changed files with 68766 additions and 36566 deletions
10
include/glm/gtx/perpendicular.inl
Normal file
10
include/glm/gtx/perpendicular.inl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/// @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
|
||||
Loading…
Add table
Add a link
Reference in a new issue